Tip #352: disabling cabbrev
tip karma |
Rating 2/3, Viewed by 1009
|
Read and edit this tip on the
Vim tip wiki.
The wiki may have a more recent version of this tip.
created: |
|
October 24, 2002 21:55 |
|
complexity: |
|
intermediate |
author: |
|
Kartik Agaram |
|
as of Vim: |
|
5.7 |
Have you ever been annoyed by an over-zealous cabbrev? A simple way to temporarily disable it is to set invpaste. Very convenient in combination with the pastetoggle key.
<< Using quickfix in a different way |
Swap caps-lock and control keys using MS Windows Registry >>
Additional Notes
Kartik,
October 24, 2002 22:11
|
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?
|
|