aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-02-13 10:05:31 -0800
committerJoe Wilm <joe@jwilm.com>2017-02-13 10:05:31 -0800
commit24c32dc4004d1c67fe95f418b7737ec393898208 (patch)
treea6e99fe834b8196cd69f98aaebbf4af4fa7b649b
parent18ab8bda9eea706a6b631ad213ad7ca10d460c90 (diff)
downloadalacritty-24c32dc4004d1c67fe95f418b7737ec393898208.tar.gz
alacritty-24c32dc4004d1c67fe95f418b7737ec393898208.zip
Add default Alt+Backspace keybinding
Resolves #315.
-rw-r--r--alacritty.yml1
-rw-r--r--alacritty_macos.yml1
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 }