Fix HTML-swallowing of <F5>

This commit is contained in:
Tim Pope 2011-04-29 21:31:24 -04:00
parent 21a77d0abb
commit c94a88a2d4

View file

@ -68,13 +68,14 @@ These changes may require you to change your configuration.
* **VIM : IMPROVEMENT : New Toggle Background Plugin** * **VIM : IMPROVEMENT : New Toggle Background Plugin**
Added new Toggle Background plugin. Will load automatically and show up as Added new Toggle Background plugin. Will load automatically and show up as
a menu item in the `Window` menu in gui vim. Automatically maps to <F5> if a menu item in the `Window` menu in gui vim. Automatically maps to
available (won't clobber that mapping if you're using it). Also available `<F5>` if available (won't clobber that mapping if you're using it).
as a command `:ToggleBG`. To manually map to something other than <F5>: Also available as a command `:ToggleBG`. To manually map to
something other than `<F5>`:
To set your own mapping in your .vimrc file, simply add the following line 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 support normal, insert and visual mode usage, changing the
to the key or key combination you wish to use: "`<F5>`" value to the key or key combination you wish to use:
call togglebg#map("<F5>") call togglebg#map("<F5>")