From b92ba65f97ec484ac5df0c3b5b3d62667ca43f2a Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Tue, 22 Aug 2017 12:23:19 -0700 Subject: Fix default config for home/end These now match the sequences sent by xterm. Not sure where I got the original values. Resolves #746. --- alacritty.yml | 4 ++-- alacritty_macos.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alacritty.yml b/alacritty.yml index 2e9ad785..c5e8ba0d 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -204,9 +204,9 @@ key_bindings: - { key: W, mods: Command, action: Quit } - { key: Insert, mods: Shift, action: PasteSelection } - { key: Home, chars: "\x1bOH", mode: AppCursor } - - { key: Home, chars: "\x1b[1~", mode: ~AppCursor } + - { key: Home, chars: "\x1b[H", mode: ~AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor } - - { key: End, chars: "\x1b[4~", mode: ~AppCursor } + - { key: End, chars: "\x1b[F", mode: ~AppCursor } - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 956cedf8..6659ea92 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -199,9 +199,9 @@ key_bindings: - { key: Q, mods: Command, action: Quit } - { key: W, mods: Command, action: Quit } - { key: Home, chars: "\x1bOH", mode: AppCursor } - - { key: Home, chars: "\x1b[1~", mode: ~AppCursor } + - { key: Home, chars: "\x1b[H", mode: ~AppCursor } - { key: End, chars: "\x1bOF", mode: AppCursor } - - { key: End, chars: "\x1b[4~", mode: ~AppCursor } + - { key: End, chars: "\x1b[F", mode: ~AppCursor } - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } - { key: PageUp, chars: "\x1b[5~" } -- cgit