mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Fix minor syntax and capitalization mistakes in vi mode docs
This commit is contained in:
parent
e84a762171
commit
fa88c42cf1
1 changed files with 4 additions and 4 deletions
|
@ -1120,11 +1120,11 @@ The \c fish editor features copy and paste, a searchable history and
|
||||||
many editor functions that can be bound to special keyboard
|
many editor functions that can be bound to special keyboard
|
||||||
shortcuts.
|
shortcuts.
|
||||||
|
|
||||||
Similar to bash, fish has Emacs and vi editing modes. The default
|
Similar to bash, fish has Emacs and Vi editing modes. The default
|
||||||
editing mode is Emacs. You can switch to vi mode with \c fish_vi_key_bindings
|
editing mode is Emacs. You can switch to Vi mode with \c fish_vi_key_bindings
|
||||||
and switch back with \c fish_default_key_bindings.
|
and switch back with \c fish_default_key_bindings.
|
||||||
|
|
||||||
\subsection Emacs mode commands
|
\subsection emacs-mode Emacs mode commands
|
||||||
|
|
||||||
- Tab <a href="#completion">completes</a> the current token.
|
- Tab <a href="#completion">completes</a> the current token.
|
||||||
- Home or Ctrl-A moves the cursor to the beginning of the line.
|
- Home or Ctrl-A moves the cursor to the beginning of the line.
|
||||||
|
@ -1151,7 +1151,7 @@ and switch back with \c fish_default_key_bindings.
|
||||||
You can change these key bindings using the
|
You can change these key bindings using the
|
||||||
<a href="commands.html#bind">bind</a> builtin command.
|
<a href="commands.html#bind">bind</a> builtin command.
|
||||||
|
|
||||||
\subsection Vi mode commands
|
\subsection vi-mode Vi mode commands
|
||||||
|
|
||||||
Vi mode allows for the use of Vi-like commands when at the bash prompt.
|
Vi mode allows for the use of Vi-like commands when at the bash prompt.
|
||||||
You'll initially be in insert mode. Hitting the escape key takes you
|
You'll initially be in insert mode. Hitting the escape key takes you
|
||||||
|
|
Loading…
Reference in a new issue