== appears

2009-05-26 Thread PM998
Hi, I'm using vim with latex-suite for a while now and a pretty happy with it. Unfortunately there is a strange problem. Vim inserts strange characters into the file from time to time. This is either a =, == or =. I don't know why? The characters are sometimes there, when I change the focus

RE: == appears

2009-05-26 Thread Gene Kwiecinski
Vim inserts strange characters into the file from time to time. This is either a =, == or =. It there a way to track down, what/who inserts them? *Where* and *when* does it insert them? You accidentally hitting a key-combo that triggers a (re)mapping or something?

Re: == appears

2009-05-26 Thread peter . meier998
Where is simple: At the current cursor position When not so simple any more: It just happens from time to time. I got back to the window and it is there. If it just appears, when I return or if it was there a while? I can't tell. I wonder, if there is a way to log a keystrokes received by vim

Re: == appears

2009-05-26 Thread Ted Pavlic
You will have more success if you post your question to the Vim-LaTeX list. vim-latex-de...@lists.sourceforge.net To support the old eqnarray environment, Vim-LaTeX will replace every == with a =. Are you sure you're not accidentally hitting = twice when you only mean to hit it once? If

Re: == appears

2009-05-26 Thread Ben Kim
back to the window and it is there. If it just appears, when I return or if it was there a while? I can't tell. I wonder, if there is a way to log a keystrokes received by vim? Not an elegant way, but I found that you can read the swp file with vim from another window. It will show inserted

Re: All indented text appears folded on opening a file. How to avoid it?

2009-03-19 Thread Ben Fritz
On Mar 18, 7:52 pm, John Beckett johnb.beck...@gmail.com wrote: Ben Fritz wrote: The problem with both these methods (setting foldlevel or foldlevelstart to a high value) is that you can't immediately use zm to start folding away text. OMG will I put the stuff I've just learned on my

Re: All indented text appears folded on opening a file. How to avoid it?

2009-03-18 Thread Christian Ebert
* Foss User on Wednesday, March 18, 2009 at 10:17:44 +0530 Whenever, I open a new file which has blocks of indented text, all indented text appear folded initially. This is an inconvenience for me as I have to type zR to unfold and read the text. I want that when I open a file, nothing should

Re: All indented text appears folded on opening a file. How to avoid it?

2009-03-18 Thread Ben Fritz
The problem with both these methods (setting foldlevel or foldlevelstart to a high value) is that you can't immediately use zm to start folding away text. I use zR in an autocmd for this purpose. Your autocmd will be different (you probably want BufRead or something), but here is what I do to

Re: All indented text appears folded on opening a file. How to avoid it?

2009-03-18 Thread Foss User
How can we set zR as an autocmd? Could you please elaborate the autocmd concept? On Wed, Mar 18, 2009 at 7:52 PM, Ben Fritz fritzophre...@gmail.com wrote: The problem with both these methods (setting foldlevel or foldlevelstart to a high value) is that you can't immediately use zm to start

Re: All indented text appears folded on opening a file. How to avoid it?

2009-03-18 Thread Ben Fritz
On Mar 18, 11:44 am, Foss User foss...@gmail.com wrote: How can we set zR as an autocmd? Could you please elaborate the autocmd concept? See the example I gave:    autocmd Syntax c,cpp,vim,xml,html,xhtml,perl normal zR :help :normal will tell you what's going on.