Vim Tips Wiki
Register
(Move categories to tip template)
(Remove html character entities)
Line 19: Line 19:
   
 
==Comments==
 
==Comments==
Does anybody have a better way to disable cabbrev's? The Vim docs (a little above help abbreviate-local) say pressing <C-v> twice somewhere within the abbrev avoids expanding it. Doesn't work for me, though. Pressing <C-v><Space> works in the ':' prompt, but not while searching - what if I don't want to include a space in the pattern?
+
Does anybody have a better way to disable cabbrev's? The Vim docs (a little above help abbreviate-local) say pressing <C-v> twice somewhere within the abbrev avoids expanding it. Doesn't work for me, though. Pressing <C-v><Space> works in the ':' prompt, but not while searching - what if I don't want to include a space in the pattern?
   
 
----
 
----

Revision as of 05:38, 29 September 2008

Tip 352 Printable Monobook Previous Next

created October 24, 2002 · complexity intermediate · author Kartik Agaram · version 5.7


Have you ever been annoyed by an over-zealous cabbrev? A simple way to temporarily disable it is set invpaste. Very convenient in combination with the pastetoggle key.

References

Comments

Does anybody have a better way to disable cabbrev's? The Vim docs (a little above help abbreviate-local) say pressing <C-v> twice somewhere within the abbrev avoids expanding it. Doesn't work for me, though. Pressing <C-v><Space> works in the ':' prompt, but not while searching - what if I don't want to include a space in the pattern?