mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Deprecate fish_vi_mode
This was never mentioned in the documentation as the way to switch to vi-mode, and now does nothing of value anymore.
This commit is contained in:
parent
f5241da836
commit
ba5a22e2ce
2 changed files with 5 additions and 2 deletions
|
@ -7,4 +7,6 @@ fish_vi_mode
|
||||||
|
|
||||||
\subsection fish_vi_mode-description Description
|
\subsection fish_vi_mode-description Description
|
||||||
|
|
||||||
|
This function is deprecated. Please call `fish_vi_key_bindings directly`
|
||||||
|
|
||||||
`fish_vi_mode` enters a vi-like command editing mode. To always start in vi mode, add `fish_vi_mode` to your `config.fish` file.
|
`fish_vi_mode` enters a vi-like command editing mode. To always start in vi mode, add `fish_vi_mode` to your `config.fish` file.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
function fish_vi_mode
|
function fish_vi_mode
|
||||||
|
echo "This function is deprecated. Please call fish_vi_key_bindings directly" >&2
|
||||||
# Turn on vi keybindings
|
# Turn on vi keybindings
|
||||||
set -g fish_key_bindings fish_vi_key_bindings
|
set -g fish_key_bindings fish_vi_key_bindings
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue