improved vi keybind

This commit is contained in:
Kerim 2024-09-15 01:04:54 +10:00 committed by Peter Ammon
parent 8f3a034264
commit bc55945072

View File

@ -45,7 +45,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
# These are only the special vi-style keys # These are only the special vi-style keys
# not end/home, we share those. # not end/home, we share those.
set -l eol_keys \$ g,\$ set -l eol_keys \$ g,\$
set -l bol_keys \^ 0 g\^ set -l bol_keys \^ 0 g\^ _
if contains -- $argv[1] insert default visual if contains -- $argv[1] insert default visual
set init_mode $argv[1] set init_mode $argv[1]