diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-03 11:31:59 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-03 11:31:59 +0100 |
commit | 301211e461a172abb9143ba4c3b31f0504af84e0 (patch) | |
tree | 370c25f3836615ae1aacbbd43597ef0e3dc48491 /modules/by-name/le/less/command.less | |
parent | fix(modules/legacy/conf/nvim/plgs/femacro): Add additional config function (diff) | |
download | nixos-config-301211e461a172abb9143ba4c3b31f0504af84e0.tar.gz nixos-config-301211e461a172abb9143ba4c3b31f0504af84e0.zip |
fix(modules/less/command.less): Improve keymappings
This removes some unneeded ones and adds the ARROW UP mapping to ensure symmetry to the ARROW DOWN mapping.
Diffstat (limited to 'modules/by-name/le/less/command.less')
-rw-r--r-- | modules/by-name/le/less/command.less | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/modules/by-name/le/less/command.less b/modules/by-name/le/less/command.less index 5365686b..a29395e8 100644 --- a/modules/by-name/le/less/command.less +++ b/modules/by-name/le/less/command.less @@ -1,35 +1,43 @@ #command -\r forw-line -\n forw-line -e forw-line +# Vim keys t forw-line +n back-line +T forw-line-force +N back-line-force + +# Arrow movement (down and up) \kd forw-line +\ku back-line + ˆE forw-line ˆN forw-line -n back-line -y back-line ˆY back-line ˆK back-line ˆP back-line -T forw-line-force -N back-line-force -Y back-line-force + + d forw-scroll ˆD forw-scroll u back-scroll ˆU back-scroll + +# Space \40 forw-screen +\e\40 forw-screen-force f forw-screen -ˆF forw-screen -ˆV forw-screen -\kD forw-screen b back-screen -ˆB back-screen -\ev back-screen +# Page Down and Up +\kD forw-screen \kU back-screen + +\ev back-screen +ˆB back-screen +ˆF forw-screen +ˆV forw-screen + z forw-window w back-window -\e\40 forw-screen-force + F forw-forever \eF forw-until-hilite R repaint-flush |