From 42528684eb0ceec43fbc93215d2d27c265005cf6 Mon Sep 17 00:00:00 2001 From: tokiclover Date: Wed, 17 Sep 2014 21:38:40 +0200 Subject: [PATCH] modules/editor/README.md: addition user key-bindings Added documentation on user defined key-bindings --- modules/editor/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/editor/README.md b/modules/editor/README.md index d989e35c..ce1a4b0f 100644 --- a/modules/editor/README.md +++ b/modules/editor/README.md @@ -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