\section bind bind - Handle key bindings.
\subsection bind-synopsis Synopsis
bind [OPTIONS] [BINDINGS...]
The bind builtin causes fish to add the readline style bindings specified by BINDINGS to the list of key bindings. For more information on specifying keyboard bindings, use man readline to access the readline documentation.
\subsection bind-description Description
- -M MODE or --set-mode=MODE sets the current input mode to MODE.
\subsection bind-example Example
bind -M vi changes to the vi input mode
bind '"\\M-j": jobs' Binds the jobs command to the Alt-j keyboard shortcut