mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
docs: Explain bind --mode in custom bindings
This commit is contained in:
@@ -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
|
||||
"""""""""""""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user