mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 18:22:45 +08:00
docs: Explain bind --mode in custom bindings
This commit is contained in:
parent
67d1d80f94
commit
0c900f74d0
|
@ -552,6 +552,10 @@ If you change your mind on a binding and want to go back to fish's default, you
|
|||
|
||||
Fish remembers its preset bindings and so it will take effect again. This saves you from having to remember what it was before and add it again yourself.
|
||||
|
||||
If you use :ref:`vi bindings <vi-mode>`, note that ``bind`` will by default bind keys in :ref:`command mode <vi-mode-command>`. To bind something in :ref:`insert mode <vi-mode-insert>`::
|
||||
|
||||
bind --mode insert \cc 'commandline -r ""'
|
||||
|
||||
Key sequences
|
||||
"""""""""""""
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user