From 6b485e415808a2b915464f6bd12d33408b45bb1d Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Wed, 10 May 2017 14:46:32 +0200 Subject: [PATCH] Add Ctrl+PageUp and Ctrl+PageDown to default key bindings --- alacritty.yml | 2 ++ alacritty_macos.yml | 2 ++ 2 files changed, 4 insertions(+) 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" }