Monday, June 6, 2011

Unable to clear abbreviations

I'm trying to clear abbreviations set by my syntax file but am unable
to. How do I do this?

In a groovy file, ":ab" returns:

i wl @while(){<CR>}<Esc>kf(a<C-R>=<SNR>24_RemoveSpace()<CR>
i tcf @try{<CR>}catch(){<CR>}finally{<CR>}<Esc>kkkA<CR><C-
R>=<SNR>24_RemoveSpace()<CR>
i tc @try{<CR>}catch(){<CR>}<Esc>kkA<CR><C-
R>=<SNR>24_RemoveSpace()<CR>
i sw @switch(){<CR>}<Esc>kf(a<C-
R>=<SNR>24_RemoveSpace()<CR>
i sf @static final <C-R>=<SNR>24_RemoveSpace()<CR>
i pls @println ''<Left><C-R>=<SNR>24_RemoveSpace()<CR>
i plg @println "${}"<Left><Left><C-
R>=<SNR>24_RemoveSpace()<CR>
i pl @println <C-R>=<SNR>24_RemoveSpace()<CR>
i mm @static main(args){<CR>}<Esc>kA<CR><Tab><C-
R>=<SNR>24_RemoveSpace()<CR>
i ifs @if(){<CR>}<Esc>kf(a<C-R>=<SNR>24_RemoveSpace()<CR>
i ifes @if(){<CR>}else{<CR>}<Esc>kkf(a<C-
R>=<SNR>24_RemoveSpace()<CR>
i fli @for(int i = 0; i < ; i++){<CR>}<Esc>kf;f;i<C-
R>=<SNR>24_RemoveSpace()<CR>
i fl @for( in ){<CR>}<Esc>kf(a<C-
R>=<SNR>24_RemoveSpace()<CR>
i dcp @this.class.classLoader.rootLoader.addURL(new
URL('file:///'))<Esc>F'i<C-R>=<SNR>24_RemoveSpace()<CR>

Running ":abclear" and then ":ab" again yields the same result.
Running ":unabbreviate pl" returns:

"E24: No such abbreviation"

Very frustrating! Hard to imagine but I just want to simply turn off
all abbreviations everywhere all the time permanently with no
questions, exceptions, or fuss. Maybe abclear is supposed to do that
and this is just a bug?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: