aboutsummaryrefslogtreecommitdiff
path: root/alacritty.yml
AgeCommit message (Collapse)Author
2018-01-02Address feedbackChristian Duerr
The config documentation has been changed to make it clear which part of the documentation is related to which setting. The faux scrollback part of the `scroll_terminal` method has been cleaned up by making use of the fact that the `codepoint + 1` can be used in the escape sequence which is used for scrolling.
2018-01-02Allow faux scroll amount configurationChristian Dürr
It is now possible to configure the amount of lines scrolled with faux scrollback.
2017-12-24Adding dynamic_title property to configuration (#819)Wesley Gahr
This logic is applied in Term's ansi::Handler implementation to avoid unnecessary allocations.
2017-12-22Update config filesRobert Günzler
2017-12-22Add borderless option to config filesRobert Günzler
See 46a1ee72267c0979e980607098ce4ef00a3db1ac
2017-12-03Add cursor style option (#928)Christian Duerr
The default cursor can now be configured through the cursor_style field of the config. Valid options include Block, Underline, and Beam. The default can be restored by sending \e[0q as in VTE terminals. Live config reloading is supported for this parameter.
2017-11-11Don't enforce window dimensions if configured with 0 columns or linesBryan Gilbert
2017-10-20Add Function + Modifier keybindings (#853)Joe Wilm
Also rearranged the default config slightly to move the long key binding list to the bottom of the file. Resolves #690 Resolves #727
2017-10-14Implement user actions for font resize (#625)Dan Aloni
Adds support for font resizing at run-time. Three new actions are introduced: * IncreaseFontSize - Increases current font size by 1.0 * DecreaseFontSize - Decreases current font size by 1.0 * ResetFontSize - Resets font size to that specified in the configuration. The stock config files have example configuration for each which should match gnome-terminal. For convenience, the config entries are: - { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } - { key: Subtract, mods: Control, action: DecreaseFontSize }
2017-10-09Add fontconfig instructions to Linux configJoe Wilm
2017-10-08Scale all fonts based on device-pixel-ratioJoe Wilm
Rather than use DPI from config, use device-pixel-ratio from winit. This is computed using the display DPI anyhow, so it should have the same effect.
2017-09-02Remove invalid characters from default config files. (#769)tanitta
2017-08-29Implement options to not start the config_monitor thread (#689)Liu Wei
Provide a command line option as well as a configuration file option. The command line option takes precedence.
2017-08-22Fix default config for home/endJoe Wilm
These now match the sequences sent by xterm. Not sure where I got the original values. Resolves #746.
2017-08-20Add background_opacity option to set terminal transparency (#331)Gabriel Martinez
The option is an Alpha struct that ensures that the contained float is between 0.0 and 1.0. Background colors are multiplied by the opacity to properly alpha blend them.
2017-07-01Document binding keys to a `command` (#647)Ollie Ford
* Refactor `key_bindings` documentation * Document binding keys to a `command` The ability for `key_bindings` to trigger a `command` was added in #566. This commit documents their use, and gives a simple example. Resolves #646.
2017-06-23Add dim color supportJake Merdich
Add support for the VTE 'dim' flag, with additional support for custom-themed dim colors. If no color is specified in the config, it will default to 2/3 the previous (not a spec, but the value other terminals seem to use). The actual dimming behavior brings bright colors to normal and regular colors to the new dim ones. Custom RGB values are not changed, nor are non-named indexed colors.
2017-05-27Fix default color schemeJoe Wilm
Whites were being rendered very dark. Resolves #503.
2017-05-10Add Shift+PageUp and Shift+PageDown to default key bindingsRonan Jouchet
2017-05-10Add Ctrl+PageUp and Ctrl+PageDown to default key bindingsMaxim Baz
2017-05-06Add window padding optionTuomas Siipola
Padding can be configured by using the `padding` field in the config file, like so: padding: x: 2 y: 2 which would result in a 2px padding within each side of the window.
2017-05-01Add glyph offset option to user configurationAaron Williamson
Add the ability to move glyphs within their cells on a global basis via an option in the configuration file.
2017-05-01Improve freetype metric usageAaron Williamson
The font metrics function was using freetype metrics in an ineffective way, improve the use of those metrics and remove the now unnecessary separate default values for font offset in linux.
2017-04-21Update TERM config commentJoe Wilm
The previous comment was ambiguous and lead to questions on the tracker and in IRC.
2017-04-18Fix delete key bindingJan Holthuis
Resolves jwilm/alacritty#192.
2017-04-03Enable Shift + Insert to pasteMichel Boaventura
Shift + Insert is a default bind to paste selection.
2017-03-27Remap `Copy` and `Paste` to use `Shift + Control` instead of `Command`Zetok Zalbavar
Closes #307.
2017-03-01Fix #447 - yml: mention `showkey -a` to get x sequence from keyRonan Jouchet
Am not touching the -macos yaml, as I'm not sure this works under macOS.
2017-02-25Change cursor colors config to use text and cursorJoe Wilm
This changes the cursor color config to use the `text` and `cursor` properties instead of the current `foreground` and `background` properties. The latter names stop making sense when dealing with cursors like a vertical bar or underscore. In the new system, the block, underscore, or vertical bar would always take the color of `cursor`, and the text would take the color of `text` when using a block, or keep its normal color when using the underscore or vertical bar. A warning is now emitted on startup when the old form of cursor color config is used. This will be a hard error in the future.
2017-02-22Add hide cursor when typing optionTuomas Siipola
2017-02-14Add TERM config entryAnders Rasmussen
2017-02-13Add default Alt+Backspace keybindingJoe Wilm
Resolves #315.
2017-02-11Disable visual bell by defaultJoe Wilm
cc #406
2017-02-10Improvements to default configJoe Wilm
* Dimensions default to 80x24 which is standard for terminals * Remove commented out Solarized color scheme * Enable visual bell by default * Add visual bell config to macos defaults * Fix default keybindings to match xterm terminfo on Ubuntu 16.04
2017-02-07Add visual bell supportMark Andrus Roberts
This commit adds support for a visual bell. Although the Handler in src/ansi.rs warns "Hopefully this is never implemented", I wanted to give it a try. A new config option is added, `visual_bell`, which sets the `duration` and `animation` function of the visual bell. The default `duration` is 150 ms, and the default `animation` is `EaseOutExpo`. To disable the visual bell, set its duration to 0. The visual bell is modeled by VisualBell in src/term/mod.rs. It has a method to ring the bell, `ring`, and another method, `intensity`. Both return the "intensity" of the bell, which ramps down from 1.0 to 0.0 at a rate set by `duration` and `animation`. Whether or not the Processor waits for events is now configurable in order to allow for smooth drawing of the visual bell.
2017-02-07Semantic SelectionXiaoyu Yin
Fix tests and add line select Refactor BidirectionalIter to remove if blocks Allow for cells tagged with WRAPLINE to continue expanding the selection Reorganize config into structs Add test coverage that callbacks are called Cleanup mouse config - Uses Duration type for ClickHandler::threshold - Removes `action` property from ClickHandler--this can be added in a backwards compatible way later on - Renames ClickState::DblClick to DoubleClick fixup! Cleanup mouse config
2017-02-06Configurable window dimensionsAnders Rasmussen
Adds a configuration option `dimensions` which will set initial window size by columns and lines. Changes to the config file will require restart. resolves #370
2017-02-05Add "Quit" action to allow exit on a Cmd-W or Cmd-QBrandur
Adds a new "Quit" action and binds it to Cmd-W and Cmd-Q on Mac OS in an attempt to make Alacritty feel more like a "normal" citizen of the operating system. Alternatives like Ctrl-D are okay, but I usually want to leave my shells nested within Tmux open even if I exit my terminal. It's also largely selfish: I've built up muscle memory over the years that takes my fingers to Cmd-Q first (and I suspect I'm not the only one). The implementation for an exit is copied from `event.rs` which notably is already tagged with a FIXME. It seems that `tty.rs` contains a `process_should_exit` system to help handle a `SIGCHLD`, and it's possible that these two exit implementations should be merged together. I could probably tackle that as my next project. As mentioned in #218, Alacritty can't really spawn other windows right now, so I've tied in Cmd-W as simply another synonym for quitting until that's implemented. Fixes #218.
2017-01-29support for inverting the cursor or using colorsDanny Dulai
2017-01-26fix config fileNiklas Claesson
2017-01-12make thin stroke rendering configurableTom Crayford
Makes thin stroke rendering for darwin configurable by a new toplevel key under `font:` in the config file. Defaults to false, has no impact on non macos.
2017-01-07Merge pull request #138 from honza/masterJoe Wilm
Add "shell" option to config
2017-01-06shift-tab key bindingDanny Dulai
2017-01-06Add "shell" option to configHonza Pokorny
This allows you to configure the shell to use when alacritty starts. cc: #122
2017-01-06Add default macOS configJoe Wilm
Should solve the `monospace` issue people are seeing for now.
2017-01-06Add README instruction for macOS configJoe Wilm
2017-01-02Rework font loadingJoe Wilm
This work started because we wanted to be able to simply say "monospace" on Linux and have it give us some sort of font. The config format for fonts changed to accomodate this new paradigm. As a result, italic and bold can have different families from the normal (roman) face. The fontconfig based font resolution probably works a lot better than the CoreText version at this point. With CoreText, we simply iterate over fonts and check it they match the requested properties. What's worse is that the CoreText version requires a valid family. With fontconfig, it will just provide the closest matching thing and use it (unless a specific style is requested).
2016-12-26Implement copying selection for macOSJoe Wilm
Still need automatic loading into selection copy buffer for linux.
2016-11-19Fix mouse bindingsJoe Wilm
Config expected key and the default config file had the wrong section.
2016-11-17Make bindings configurable from alacritty.ymlJoe Wilm
Bindings were previously hardcoded within input.rs; adding, removing, or changing a binding required a recompile! Now, bindings may be declared in alacritty.yml. Even better, bindings are live-reloaded when alacritty.yml is changed! One unexpected benefit of this change was that all of the special casing in input.rs has disappeared. Conversely, config.rs has gained complexity for all of the deserialization logic. Resolves #3.