From 8735dac62b58a2a646cd81d8eff10ccfe5093c9f Mon Sep 17 00:00:00 2001 From: Nate Kane Date: Sun, 5 Dec 2010 20:01:34 +1000 Subject: [PATCH] Added mappings information to the help file --- doc/indent-guides.txt | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/doc/indent-guides.txt b/doc/indent-guides.txt index b282889..28524a8 100644 --- a/doc/indent-guides.txt +++ b/doc/indent-guides.txt @@ -19,8 +19,9 @@ CONTENTS *indent-guides-contents* 1. Commands.................................. |indent-guides-commands| 2. Options................................... |indent-guides-options| - 3. Changelog................................. |indent-guides-changelog| - 4. License................................... |indent-guides-license| + 3. Mappings.................................. |indent-guides-mappings| + 4. Changelog................................. |indent-guides-changelog| + 5. License................................... |indent-guides-license| ============================================================================== 1. COMMANDS *indent-guides-commands* @@ -44,13 +45,29 @@ Use this option to control how many indent levels to display guides for: < ============================================================================== -3. CHANGELOG *indent-guides-changelog* +3. MAPPINGS *indent-guides-mappings* + +The default mapping for toggling indent guides is ig. You can easy map +it to other keys. For example: +> + :nmap ig :IndentGuidesToggle +< + +You can also map some other commands that are not mapped by default. For +example: +> + :nmap ie :IndentGuidesEnable + :nmap id :IndentGuidesDisable +< + +============================================================================== +4. CHANGELOG *indent-guides-changelog* 1.0~ * First public version. ============================================================================== -4. LICENSE *indent-guides-license* +5. LICENSE *indent-guides-license* The MIT Licence http://www.opensource.org/licenses/mit-license.php