modules/editor/README.md: addition user key-bindings
Added documentation on user defined key-bindings
This commit is contained in:
parent
1cec912cda
commit
42528684eb
1 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,19 @@ with 'emacs' or 'vi'.
|
|||
|
||||
zstyle ':prezto:module:editor' key-bindings 'bindings'
|
||||
|
||||
To enable additional key bindings, add some definitions like the following to
|
||||
*zpreztorc*.
|
||||
|
||||
zstyle ':prezto:module:editor:term' xterm \
|
||||
'Home' '\\e\[H' 'End' '\\e\[F'
|
||||
zstyle ':prezto:module:editor:term' linux \
|
||||
'Home' '\\e\[1\~' 'End' '\\e\[4\~'
|
||||
zstyle ':prezto:module:editor:term' rxvt \
|
||||
'Home' '\\e\[7\~' 'End' '\\e\[8\~'
|
||||
|
||||
Those lines will take care of *Home* and *End* key in rxvt/eterm virtual
|
||||
terminal emulator families and in *linux* console.
|
||||
|
||||
### Dot Expansion
|
||||
|
||||
To enable the auto conversion of .... to ../.., add the following to
|
||||
|
|
Loading…
Add table
Reference in a new issue