mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
improved vi keybind
This commit is contained in:
parent
8f3a034264
commit
bc55945072
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user