diff options
author | Joe Wilm <joe@jwilm.com> | 2017-02-13 10:05:31 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-02-13 10:05:31 -0800 |
commit | 24c32dc4004d1c67fe95f418b7737ec393898208 (patch) | |
tree | a6e99fe834b8196cd69f98aaebbf4af4fa7b649b | |
parent | 18ab8bda9eea706a6b631ad213ad7ca10d460c90 (diff) | |
download | alacritty-24c32dc4004d1c67fe95f418b7737ec393898208.tar.gz alacritty-24c32dc4004d1c67fe95f418b7737ec393898208.zip |
Add default Alt+Backspace keybinding
Resolves #315.
-rw-r--r-- | alacritty.yml | 1 | ||||
-rw-r--r-- | alacritty_macos.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml index 35e75ceb..53541e59 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -190,6 +190,7 @@ key_bindings: - { key: F11, chars: "\x1b[23~" } - { key: F12, chars: "\x1b[24~" } - { key: Back, chars: "\x7f" } + - { key: Back, mods: Alt, chars: "\x1b\x7f" } - { key: Insert, chars: "\x1b[2~" } - { key: Delete, chars: "\x1b[3~", mode: AppKeypad } - { key: Delete, chars: "\x1b[P", mode: ~AppKeypad } diff --git a/alacritty_macos.yml b/alacritty_macos.yml index b4cfdf0c..0d6e1eb6 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -190,6 +190,7 @@ key_bindings: - { key: F11, chars: "\x1b[23~" } - { key: F12, chars: "\x1b[24~" } - { key: Back, chars: "\x7f" } + - { key: Back, mods: Alt, chars: "\x1b\x7f" } - { key: Insert, chars: "\x1b[2~" } - { key: Delete, chars: "\x1b[3~", mode: AppKeypad } - { key: Delete, chars: "\x1b[P", mode: ~AppKeypad } |