aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2016-04-12 20:41:35 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-04-26 15:21:15 +0200
commitba5a22e2ce3b84eda1f3e03f8089643971d0f742 (patch)
treedea175789ef9583040a18f4a53d50cfa4f06f3b8 /share/functions
parentf5241da836213b8ee05d4946e4884be2a6714658 (diff)
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.
Diffstat (limited to 'share/functions')
-rw-r--r--share/functions/fish_vi_mode.fish5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/functions/fish_vi_mode.fish b/share/functions/fish_vi_mode.fish
index 8c89a53e..29ddeb6c 100644
--- a/share/functions/fish_vi_mode.fish
+++ b/share/functions/fish_vi_mode.fish
@@ -1,4 +1,5 @@
function fish_vi_mode
- # Turn on vi keybindings
- set -g fish_key_bindings fish_vi_key_bindings
+ echo "This function is deprecated. Please call fish_vi_key_bindings directly" >&2
+ # Turn on vi keybindings
+ set -g fish_key_bindings fish_vi_key_bindings
end