From 6f40d8215abd90e05e4eebc8ee48197c987a3d9c Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 28 Oct 2022 18:45:24 +0200 Subject: alacritty: vi-mode bindings --- .config/alacritty/alacritty.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index fc2c62a..7fc2a6b 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -538,7 +538,7 @@ colors: *dark # # If the same trigger is assigned to multiple actions, all of them are executed # in the order they were defined in. -#key_bindings: +key_bindings: #- { key: Paste, action: Paste } #- { key: Copy, action: Copy } #- { key: L, mods: Control, action: ClearLogNotice } @@ -562,6 +562,8 @@ colors: *dark #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } +- { key: U, mode: Vi|~Search, action: ScrollHalfPageUp } +- { key: D, mode: Vi|~Search, action: ScrollHalfPageDown } #- { key: Y, mode: Vi|~Search, action: Copy } #- { key: Y, mode: Vi|~Search, action: ClearSelection } #- { key: Copy, mode: Vi|~Search, action: ClearSelection } @@ -579,7 +581,7 @@ colors: *dark #- { key: Left, mode: Vi|~Search, action: Left } #- { key: Right, mode: Vi|~Search, action: Right } #- { key: Key0, mode: Vi|~Search, action: First } -#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } +- { key: 5, mods: Shift, mode: Vi|~Search, action: Last } #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } #- { key: H, mods: Shift, mode: Vi|~Search, action: High } #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } -- cgit v1.2.3-70-g09d2