Vim Tips Wiki
(Change to TipImported template + severe manual clean)
(Move categories to tip template)
Line 9: Line 9:
 
|version=5.7
 
|version=5.7
 
|rating=2/3
 
|rating=2/3
  +
|category1=
  +
|category2=
 
}}
 
}}
 
Have you ever been annoyed by an over-zealous cabbrev? A simple way to temporarily disable it is <tt>set invpaste</tt>. Very convenient in combination with the <tt>pastetoggle</tt> key.
 
Have you ever been annoyed by an over-zealous cabbrev? A simple way to temporarily disable it is <tt>set invpaste</tt>. Very convenient in combination with the <tt>pastetoggle</tt> key.

Revision as of 01:15, 25 April 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?