Re: check if inoremap is set

2009-10-13 Thread Christian Brabandt
Hi Keyan! On Di, 13 Okt 2009, Keyan wrote: > i have the following problem. for cpp, perl, and others, i have set > > inoremap { { }O > > when is switch to .tex, where i dont want this setting, i have to use Well, the obvious solution would be to use inoremap { … only for cpp, perl and all y

Re: check if inoremap is set

2009-10-13 Thread Maxim Kim
On 13 окт, 11:27, Keyan wrote: > hi, > > can i somehow ask if there was one set, or is there a better way to > solve the problem? Add the following line inoremap { { }O into the files(create if needed): .vim/after/ftplugin/perl.vim .vim/after/ftplugin/cpp.vim etc. :h map- --~

check if inoremap is set

2009-10-13 Thread Keyan
hi, i have the following problem. for cpp, perl, and others, i have set inoremap { { }O when is switch to .tex, where i dont want this setting, i have to use iunmap { but i cant put the last line in my tex.vim, because in case i havent worked on a .cpp buffer before switching to a vim buffe