fish-shell/share/functions/fish_vi_mode.fish
Kurtis Rader 54319435f4 clarify fish_vi_mode deprecation warning
Also, correct the Vi mode default escape timeout. I intended it to be 100 ms
in my previous change but it ended up 10 ms which is far too short. A 10 ms
delay will continue to cause problems for people running fish inside `screen`,
`tmux`, or over high latency connections.

Cherry-picked from 3e24ae80b3
2016-04-29 15:52:10 -07:00

7 lines
215 B
Fish

function fish_vi_mode
echo 'The `fish_vi_mode` function is deprecated.' >&2
echo 'Please switch to calling `fish_vi_key_bindings`.' >&2
# Turn on vi keybindings
set -g fish_key_bindings fish_vi_key_bindings
end