我见过 Vi-mode 实现的鱼壳,但我不知道如何使用它。网上有没有介绍基本功能的教程,比如如何切换模式?
In fish 2.3.0 and later:
2.3.0
fish_vi_key_bindings
fish_default_key_bindings
If you want to make it the default, add the fish_vi_key_bindings command to ~/.config/fish/config.fish.
~/.config/fish/config.fish
I am using fish 2.2.0. The following worked for me:
Edit $HOME/.config/fish/functions/fish_user_key_bindings.fish
$HOME/.config/fish/functions/fish_user_key_bindings.fish
function fish_user_key_bindings fish_vi_key_bindings end
via this