summaryrefslogtreecommitdiffstats
path: root/alacritty.yml
AgeCommit message (Collapse)Author
2020-11-13Add ability to select text during searchChristian Duerr
This removes the restriction of not being able to select text while the search is active, making it a bit less jarring of a UX when the user tries to interact with the terminal during search. Since the selection was used during vi-less search to highlight the focused match, there is now an option for a focused match color, which uses the inverted normal match color by default. This focused match is used for both search modes. Other mouse interactions are now also possible during search, like opening URLs or clicking inside of mouse mode applications.
2020-11-07Fix configuration file formattingChristian Duerr
The configuration file, especially the section documenting the different binding actions, had some extremely long lines. All the text is now reformatted to be at most 80 columns wide. The only lines remaining which are beyond 80 columns wide are the configuration bindings, which would significantly suffer from linebreaks and are not plain text.
2020-10-30Fix visual bell getting stuckChristian Duerr
This resolves a problem with the visual bell where it would not automatically trigger a redraw itself after the initial frame has been rendered. Since the unit of the visual bell duration is also unclear, it has been clarified.
2020-10-07Bump glutin to 0.25.0Kirill Chibisov
Fixes #4206. Fixes #4162. Fixes #4017. Fixes #3998. Fixes #3831. Fixes #3782. Fixes #3708. Fixes #2734. Fixes #2714. Fixes #1801.
2020-09-27Add support for single line terminalsii41
This changes the minimum terminal dimensions from 2 lines and 2 columns, to 1 line and 2 columns. This also reworks the `SizeInfo` to store the number of columns and lines and consistently has only the terminal lines/columns stored, instead of including the message bar and search in some places of the Alacritty renderer/input. These new changes also make it easy to properly start the selection scrolling as soon as the mouse is over the message bar, instead of waiting until it is beyond it. Fixes #4207. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2020-08-21Add configuration file importsChristian Duerr
This adds the ability for users to have multiple configuration files which all inherit from each other. The order of imports is chronological, branching out to the deepest children first and overriding every field with that of the configuration files that are loaded at a later point in time. Live config reload watches the directories of all configuration files, allowing edits in any of them to update Alacritty immediately. While the imports are live reloaded, a new configuration file watcher will only be spawned once Alacritty is restarted. Since this might cause loops which would be very difficult to detect, a maximum depth is set to limit the recursion possible with nested configuration files. Fixes #779.
2020-08-12Add `Vi` to available binding modesChristian Duerr
2020-08-10Add ^C binding to cancel search and leave Vi modeChristian Duerr
Fixes #4089.
2020-08-03Fix typo in example config fileDavid
2020-08-02Document keybinding actionsMark Stosberg
2020-08-01Fix configuration file documentationJoshua Steele
2020-07-15Add support for searching without vi modeChristian Duerr
This implements search without vi mode by using the selection to track the active search match and advancing it on user input. The keys to go to the next or previous match are not configurable and are bound to enter and shift enter based on Firefox's behavior. Fixes #3937.
2020-07-15Fix docs about multiple simultaneous keybindingsChristian Duerr
2020-07-14Fix movement within search matchesChristian Duerr
Previously the SearchEndNext and SearchEndPrevious match acted exactly like the SearchNext and SearchPrevious action, however this is not how vim works. In vim, regardless of direction the `gN` action always jumps to the next match start to the left of the cursor, while the `gn` action always jumps to the next search end to the right of the cursor. While both approaches might seem reasonable at first, vim's approach has a significant advantage w.r.t. predictability and automation of the movement. By always knowing which direction the motion goes to, this allows for mappings that reliably navigate inside the current match regardless of the global search direction. So deleting until the end of the match would always be `dgn` for example, regardless in which direction the user has jumped to it. Fixes #3953.
2020-07-10Add option to run command on bell Kirill Chibisov
Fixes #1528.
2020-07-09Add regex scrollback buffer searchChristian Duerr
This adds a new regex search which allows searching the entire scrollback and jumping between matches using the vi mode. All visible matches should be highlighted unless their lines are excessively long. This should help with performance since highlighting is done during render time. Fixes #1017.
2020-06-09Add missing docs for ScrollHalfPageUp/DownKirill Chibisov
2020-05-17Add subpixel anti-aliasing support on macOS 10.14+Casper Rogild Storm
2020-05-16Change default color scheme to 'Tomorrow Night'Alexey Chernyshov
Fixes #3404.
2020-05-14Refine documentation on disabling the URL launcherTyler G. Sherrard
2020-05-02Fix scrolling multiplier documentationJeff Windsor
Fixes #3189.
2020-04-15Add config option to set cursor thicknessKirill Chibisov
Fixes #3526.
2020-03-23Add CopyPrimary keybinding action on Linux/BSDKirill Chibisov
2020-03-19Fix default keybinding documentationChristian Duerr
2020-03-18Add modal keyboard motion modeChristian Duerr
This implements a basic mode for navigating inside of Alacritty's history with keyboard bindings. They're bound by default to vi's motion shortcuts but are fully customizable. Since this relies on key bindings only single key bindings are currently supported (so no `ge`, or repetition). Other than navigating the history and moving the viewport, this mode should enable making use of all available selection modes to copy content to the clipboard and launch URLs below the cursor. This also changes the rendering of the block cursor at the side of selections, since previously it could be inverted to be completely invisible. Since that would have caused some troubles with this keyboard selection mode, the block cursor now is no longer inverted when it is at the edges of a selection. Fixes #262.
2020-03-17Add default keybinding for SpawnNewInstance on macOSNathan Lilienthal
2020-03-04Remove `ref_test` option from configuration fileChristian Duerr
This removes the `debug.ref_test` option from the configuration file, after this change was originally requested from kchibisov in https://github.com/alacritty/alacritty/pull/3396. While this option is valueable for the CLI, it provides no value in the configuration file.
2020-03-01Move debug to bottom of configChristian Duerr
Since this information is the least relevant to the user, it should be the last thing in the configuration file.
2020-03-01Remove `tabspaces` config optionChristian Duerr
This completely removes the tabspaces option from the Alacritty configuration, due to frequent misuse of it. Based on some research, none of the terminal emulators support setting the value for tabspaces or read the terminfo to determine init_tabs value at startup. The tested terminal emulators were URxvt, XTerm, and Termite.
2020-02-27Remove docs for 0xRRGGBB color notationChristian Duerr
2020-02-23Change documented default TERM to alacrittyKirill Chibisov
2020-02-05Add docs about multiple bindings on same triggerBrainFace
2020-01-20Disable drawing bold text bright by defaultKirill Chibisov
Since the assumption is usually that bold text is drawn in bright colors, this might break some applications. However some other terminals have already taken this leap, which should lessen the impact for Alacritty. Since this might still be desired and necessary for certain applications, the config option is just switched to draw with normal colors by default, however the old behavior can still be restored. Fixes #2779.
2020-01-20Remove scrolling.auto_scroll featureKirill Chibisov
Fixes: #1873
2020-01-10Force exact modifiers match for mouse bindingsChristian Duerr
Fixes #3152.
2020-01-05Add `Minimize` binding actionKirill Chibisov
Fixes #2534.
2019-12-21Default to ConPTY instead of WinPTYDavid Hewitt
2019-11-03Add live config reload for font family and stylewayne
Fixes #2737.
2019-10-15Add support for alternate scroll escapeAleksey Kuznetsov
Fixes #2727.
2019-10-06Remove automatic config generationKirill Chibisov
Fixes #2818.
2019-10-04Update VirtualKeyCode url in alacritty.ymlClément L
2019-09-28Add `ReceiveChar` action for passing key's textzsugabubus
2019-09-18Rework default bindingsKirill Chibisov
This commit removes all bindings which are sending escapes from the default configuration file, adds bindings for F13-F24, adds bindings for ScrollToTop/ScrollToBottom actions, removes bindings for Super + F1-F12, fixes bindings for Alt + F1-F12. Fixes #2688.
2019-08-25Add bold italic font supportChris Morgan
If the terminal escape sequences for bold and italic text are active, the text should be rendered as bold and italic. However, due to missing support in Alacritty, it would always render this text in bold. This adds support for combining the bold and italic escapes to render text in both styles and allows users to override the font for this scenario using the `font.bold_italic` configuration option.
2019-07-26Fix double-click selecting trailing tabBen Firth
Fixes #2639.
2019-07-06Allow setting gtk variant and general class on X11Brian Koropoff
2019-06-21Reorder and clearify the mouse/keybinding docs. (#2509)Nathan Lilienthal
2019-06-16Fix default fullscreen binding docsChristian Duerr
2019-06-16Fix default login shell documentationJulien Sanchez
2019-05-10Refactor config parsing filesChristian Duerr
This is a large refactor of the config parsing structure, attempting to reduce the size of the file a bit by splitting it up into different modules with more specific purposes. This also fixes #2279.