diff options
author | Joe Wilm <joe@jwilm.com> | 2017-02-10 09:15:36 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-02-10 09:15:36 -0800 |
commit | 98c01457df48e6bada23e4ac864e52ec0fa02d75 (patch) | |
tree | a98122e88267ae8ca0b5713fa241dce0468c6f03 /alacritty.yml | |
parent | fbc7b7227171b41d96ca52df52e4cf1833f5fc6f (diff) | |
download | alacritty-98c01457df48e6bada23e4ac864e52ec0fa02d75.tar.gz alacritty-98c01457df48e6bada23e4ac864e52ec0fa02d75.zip |
Improvements to default config
* 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
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 49 |
1 files changed, 11 insertions, 38 deletions
diff --git a/alacritty.yml b/alacritty.yml index 28ddf365..a9df242a 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -3,7 +3,7 @@ # (changes require restart) dimensions: columns: 80 - lines: 40 + lines: 24 # The FreeType rasterizer needs to know the device DPI for best results # (changes require restart) @@ -63,6 +63,8 @@ colors: primary: background: '0x000000' foreground: '0xeaeaea' + + # Colors the cursor will use if `custom_cursor_colors` is true cursor: background: '0xffffff' foreground: '0x000000' @@ -89,35 +91,6 @@ colors: cyan: '0x54ced6' white: '0x2a2a2a' -# Colors (Solarized Dark) -# colors: -# # Default colors -# primary: -# background: '0x002b36' -# foreground: '0x839496' -# -# # Normal colors -# normal: -# black: '0x073642' -# red: '0xdc322f' -# green: '0x859900' -# yellow: '0xb58900' -# blue: '0x268bd2' -# magenta: '0xd33682' -# cyan: '0x2aa198' -# white: '0xeee8d5' -# -# # Bright colors -# bright: -# black: '0x002b36' -# red: '0xcb4b16' -# green: '0x586e75' -# yellow: '0x657b83' -# blue: '0x839496' -# magenta: '0x6c71c4' -# cyan: '0x93a1a1' -# white: '0xfdf6e3' - # Visual Bell # # Any time the BEL code is received, Alacritty "rings" the visual bell. Once @@ -140,9 +113,9 @@ colors: # # To completely disable the visual bell, set its duration to 0. # -#visual_bell: -# animation: EaseOutExpo -# duration: 150 +visual_bell: + animation: EaseOutExpo + duration: 150 # Key bindings # @@ -177,10 +150,10 @@ key_bindings: - { key: C, mods: Command, action: Copy } - { key: Q, mods: Command, action: Quit } - { key: W, mods: Command, action: Quit } - - { key: Home, chars: "\x1b[H", mode: ~AppCursor } - - { key: Home, chars: "\x1b[1~", mode: AppCursor } - - { key: End, chars: "\x1b[F", mode: ~AppCursor } - - { key: End, chars: "\x1b[4~", mode: AppCursor } + - { key: Home, chars: "\x1bOH", mode: AppCursor } + - { key: Home, chars: "\x1b[1~", mode: ~AppCursor } + - { key: End, chars: "\x1bOF", mode: AppCursor } + - { key: End, chars: "\x1b[4~", mode: ~AppCursor } - { key: PageUp, chars: "\x1b[5~" } - { key: PageDown, chars: "\x1b[6~" } - { key: Left, mods: Shift, chars: "\x1b[1;2D" } @@ -217,6 +190,7 @@ key_bindings: - { key: F11, chars: "\x1b[23~" } - { key: F12, chars: "\x1b[24~" } - { key: Back, chars: "\x7f" } + - { key: Insert, chars: "\x1b[2~" } - { key: Delete, chars: "\x1b[3~", mode: AppKeypad } - { key: Delete, chars: "\x1b[P", mode: ~AppKeypad } @@ -249,7 +223,6 @@ selection: # # You can set shell.program to the path of your favorite shell, e.g. /bin/fish. # Entries in shell.args are passed unmodified as arguments to the shell. -# #shell: # program: /bin/bash # args: |