diff options
author | Ethan Schoonover <es@ethanschoonover.com> | 2011-04-16 10:49:53 -0700 |
---|---|---|
committer | Ethan Schoonover <es@ethanschoonover.com> | 2011-04-16 10:49:53 -0700 |
commit | 4b0568dd06b5d04bb2c79ffd49d0898abe10ca18 (patch) | |
tree | 434f819a8e191f0d0a2c48827fcbbffa11432656 | |
parent | 177c82b1636b864c92937c9780658cc6eca87aa4 (diff) | |
download | vim-colors-solarized-4b0568dd06b5d04bb2c79ffd49d0898abe10ca18.tar.gz |
updated to vimrc
-rw-r--r-- | README.mkd | 11 | ||||
-rw-r--r-- | doc/togglebg.txt | 11 |
2 files changed, 8 insertions, 14 deletions
@@ -4,7 +4,7 @@ Description: Precision colors for machines and people Author: Ethan Schoonover Colors: light yellow Created: 2011 Mar 15 -Modified: 2011 Apr 12 +Modified: 2011 Apr 16 --- @@ -197,18 +197,15 @@ Solarized comes with a Toggle Background plugin that by default will map to either map the function manually or change your current <F5> mapping to something else. -To set your own mapping in your .vimrc file, simply add the following three -lines to support normal, insert and visual mode usage, changing the "<F5>" -value to the key or key combination you wish to use: +To set your own mapping in your .vimrc file, simply add the following line to +support normal, insert and visual mode usage, changing the "<F5>" value to the +key or key combination you wish to use: call togglebg#map("<F5>") Note that you'll want to use a single function key or equivalent if you want the plugin to work in all modes (normal, insert, visual). -Note also that it is important to NOT use the noremap map variants. The plugin -uses noremap internally. - Code Notes ---------- diff --git a/doc/togglebg.txt b/doc/togglebg.txt index 5839ddc..7a70d60 100644 --- a/doc/togglebg.txt +++ b/doc/togglebg.txt @@ -1,4 +1,4 @@ -*togglebg.vim* For Vim version 7.3. or newer Modified: 2011 Apr 12 +*togglebg.vim* For Vim version 7.3. or newer Modified: 2011 Apr 16 TOGGLE BACKGROUND PLUGIN by Ethan Schoonover ~ @@ -35,18 +35,15 @@ remove/change your existing <F5> mapping to another value. ============================================================================== 2. Changing the Mapping *togglebg-newmap* -To set your own mapping in your .vimrc file, simply add the following three -lines to support normal, insert and visual mode usage, changing the "<F5>" -value to the key or key combination you wish to use: +To set your own mapping in your .vimrc file, simply add the following line to +support normal, insert and visual mode usage, changing the "<F5>" value to the +key or key combination you wish to use: call togglebg#map("<F5>") Note that you'll want to use a single function key or equivalent if you want the plugin to work in all modes (normal, insert, visual). -Note also that it is important to NOT use the noremap map variants. The plugin -uses noremap internally. - ============================================================================== 3. Issues *togglebg-issues* |