diff options
author | Maxim Baz <git@maximbaz.com> | 2017-05-10 14:46:32 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-10 08:10:04 -0700 |
commit | 6b485e415808a2b915464f6bd12d33408b45bb1d (patch) | |
tree | 5807c0323cb4c1dd52611890164bc8bb43086749 | |
parent | ccd3cc8e6a684a180b11794ba8c94c71b7785c7e (diff) | |
download | alacritty-6b485e415808a2b915464f6bd12d33408b45bb1d.tar.gz alacritty-6b485e415808a2b915464f6bd12d33408b45bb1d.zip |
Add Ctrl+PageUp and Ctrl+PageDown to default key bindings
-rw-r--r-- | alacritty.yml | 2 | ||||
-rw-r--r-- | alacritty_macos.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/alacritty.yml b/alacritty.yml index 5b6b5e63..30ab9df0 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -189,7 +189,9 @@ key_bindings: - { key: Home, chars: "\x1b[1~", mode: ~AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor } - { key: End, chars: "\x1b[4~", mode: ~AppCursor } + - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } + - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - { key: PageDown, chars: "\x1b[6~" } - { key: Left, mods: Shift, chars: "\x1b[1;2D" } - { key: Left, mods: Control, chars: "\x1b[1;5D" } diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 54a00b38..57ad0990 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -183,7 +183,9 @@ key_bindings: - { key: Home, chars: "\x1b[1~", mode: ~AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor } - { key: End, chars: "\x1b[4~", mode: ~AppCursor } + - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } + - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - { key: PageDown, chars: "\x1b[6~" } - { key: Left, mods: Shift, chars: "\x1b[1;2D" } - { key: Left, mods: Control, chars: "\x1b[1;5D" } |