Back to Fish

fish_vi_key_bindings - set vi key bindings for fish¶

docs/docs/3.7/cmds/fish_vi_key_bindings.html

latest949 B
Original Source

fish_vi_key_bindings - set vi key bindings for fish

Synopsis

fish\_vi\_key\_bindingsfish\_vi\_key\_bindings [--no-erase] [INIT\_MODE]

Description

fish_vi_key_bindings sets the vi key bindings for fish shell.

If a valid INIT_MODE is provided (insert, default, visual), then that mode will become the default . If no INIT_MODE is given, the mode defaults to insert mode.

The following parameters are available:

--no-erase

Does not clear previous set bindings

Further information on how to use vi-mode.

Examples

To start using vi key bindings:

fish\_vi\_key\_bindings

or set -g fish_key_bindings fish_vi_key_bindings in config.fish.