summaryrefslogtreecommitdiffstats
path: root/alacritty_macos.yml
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-02-10 09:15:36 -0800
committerJoe Wilm <joe@jwilm.com>2017-02-10 09:15:36 -0800
commit98c01457df48e6bada23e4ac864e52ec0fa02d75 (patch)
treea98122e88267ae8ca0b5713fa241dce0468c6f03 /alacritty_macos.yml
parentfbc7b7227171b41d96ca52df52e4cf1833f5fc6f (diff)
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_macos.yml')
-rw-r--r--alacritty_macos.yml62
1 files changed, 31 insertions, 31 deletions
diff --git a/alacritty_macos.yml b/alacritty_macos.yml
index 160b85a0..ceec0aae 100644
--- a/alacritty_macos.yml
+++ b/alacritty_macos.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,34 +91,31 @@ colors:
cyan: '0x54ced6'
white: '0x2a2a2a'
-# Colors (Solarized Dark)
-# colors:
-# # Default colors
-# primary:
-# background: '0x002b36'
-# foreground: '0x839496'
+# Visual Bell
+#
+# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
+# rung, the terminal background will be set to white and transition back to the
+# default background color. You can control the rate of this transition by
+# setting the `duration` property (represented in milliseconds). You can also
+# configure the transition function by setting the `animation` property.
+#
+# Possible values for `animation`
+# `Ease`
+# `EaseOut`
+# `EaseOutSine`
+# `EaseOutQuad`
+# `EaseOutCubic`
+# `EaseOutQuart`
+# `EaseOutQuint`
+# `EaseOutExpo`
+# `EaseOutCirc`
+# `Linear`
#
-# # Normal colors
-# normal:
-# black: '0x073642'
-# red: '0xdc322f'
-# green: '0x859900'
-# yellow: '0xb58900'
-# blue: '0x268bd2'
-# magenta: '0xd33682'
-# cyan: '0x2aa198'
-# white: '0xeee8d5'
+# To completely disable the visual bell, set its duration to 0.
#
-# # Bright colors
-# bright:
-# black: '0x002b36'
-# red: '0xcb4b16'
-# green: '0x586e75'
-# yellow: '0x657b83'
-# blue: '0x839496'
-# magenta: '0x6c71c4'
-# cyan: '0x93a1a1'
-# white: '0xfdf6e3'
+visual_bell:
+ animation: EaseOutExpo
+ duration: 150
# Key bindings
#
@@ -151,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" }
@@ -191,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 }