diff options
author | Ronan Jouchet <ronan.jouchet@imagia.com> | 2017-05-10 12:51:41 -0400 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-10 11:02:45 -0700 |
commit | f6d7f7cdb15834f977871a8e43670f6001f139a5 (patch) | |
tree | 03169dbe146f17babf700028b5ff250fa9be0288 | |
parent | 6b485e415808a2b915464f6bd12d33408b45bb1d (diff) | |
download | alacritty-f6d7f7cdb15834f977871a8e43670f6001f139a5.tar.gz alacritty-f6d7f7cdb15834f977871a8e43670f6001f139a5.zip |
Add Shift+PageUp and Shift+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 30ab9df0..d7025f84 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -189,8 +189,10 @@ 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: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } + - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - { key: PageDown, chars: "\x1b[6~" } - { key: Left, mods: Shift, chars: "\x1b[1;2D" } diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 57ad0990..0e242790 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -183,8 +183,10 @@ 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: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } + - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } - { key: PageDown, chars: "\x1b[6~" } - { key: Left, mods: Shift, chars: "\x1b[1;2D" } |