Skip to content
Snippets Groups Projects
Commit 5a9025af authored by Michal Siedlaczek's avatar Michal Siedlaczek Committed by Michael Aaron Murphy
Browse files

manual: Update with keybinding and vi prompt

parent 2b1adc9c
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,8 @@
- [Multi-line Arguments](misc/04-multiargs.md)
- [Multi-line Strings](misc/05-multiline-strings.md)
- [Prompt Function](misc/06-prompt_fn.md)
- [General Tips](misc/07-general.md)
- [Key Bindings](misc/07-keybindings.md)
- [General Tips](misc/08-general.md)
- [Variables](variables/00-variables.md)
......
# Key Bindings
There are two pre-set key maps available: Emacs (default) and Vi.
You can switch between them with the `keybindings` built-in command.
```
keybindings vi
keybindings emacs
```
## Vi Mode Prompt Indicators
In the Vi mode, you can define the displayed indicator for normal and insert modes
with the following variables:
```
$ export VI_NORMAL = "[=] "
$ export VI_INSERT = "[+] "
$ keybindings vi
[+] $
```
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment