diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-26 09:53:34 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-31 08:43:09 +0100 |
| commit | 86c74b15fb2bc42aef41ae7651bd97a2afea1c53 (patch) | |
| tree | 20d6580dbf4caf318ea48fb11b07b617463ad67c /user/readline | |
| parent | a4a6624d8c8ea86582f3f963f4100435c2ada64d (diff) | |
tweak(user): remap vi navigation for Colemak-DH
Oof, this feels good. Should've done this sooner.
Diffstat (limited to 'user/readline')
| -rw-r--r-- | user/readline/inputrc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/readline/inputrc b/user/readline/inputrc index b2cc9d6..7ff2533 100644 --- a/user/readline/inputrc +++ b/user/readline/inputrc @@ -1 +1,17 @@ set editing-mode vi + +set keymap vi-command +# Colemak-DH directional keys. +"k": backward-char +"n": next-history +"e": previous-history +"i": forward-char + +# Commands displaced by the directional keys. +"h": vi-end-word +"H": vi-end-bigword +"o": vi-insertion-mode +"O": vi-insert-beg + +# Navigate search results. +" ": vi-search-again |
