diff options
| author | Jake Koroman <jake@jakekoroman.com> | 2026-06-21 13:08:03 -0400 |
|---|---|---|
| committer | Jake Koroman <jake@jakekoroman.com> | 2026-06-21 13:08:03 -0400 |
| commit | 991a7917ec010080467889b02bcd608c078f6a86 (patch) | |
| tree | 191dbc790d2b4c04552fe6ce1ac6134547634aef /fish/config.fish | |
| parent | e9621b453b83511b0601a904fe5752b152241e48 (diff) | |
add fish.
Diffstat (limited to 'fish/config.fish')
| -rw-r--r-- | fish/config.fish | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..5f8b8d1 --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,18 @@ +function vi_colemakdh_binds + bind n 'fish_vi_run_count backward-char' + bind e 'fish_vi_run_count down-or-search' + bind i 'fish_vi_run_count up-or-search' + bind o 'fish_vi_run_count forward-char' + + bind j 'fish_vi_run_count forward-word-end' + bind -m insert l end-selection repaint-mode + bind -m insert L beginning-of-line +end + +if status is-interactive + set -g fish_key_bindings fish_vi_key_bindings + vi_colemakdh_binds + + abbr xip doas xbps-install + abbr xrp doas xbps-remove +end |
