Re: Why does VimResized get triggered 4 times per resize

2007-03-09 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony Mechelynck wrote: Marius Roets wrote: Hi everybody, Can somebody explain the following behaviour to me. In my .vimrc I put the following: " --START -- function ResizeEvent() let &lines = &lines - 1 execute '!echo "resizing "'.&lines . ' >> test.txt' e

Re: Why does VimResized get triggered 4 times per resize

2007-03-09 Thread Bram Moolenaar
Tony Mechelynck wrote: > Marius Roets wrote: > > Hi everybody, > > Can somebody explain the following behaviour to me. In my .vimrc I put > > the following: > > " --START -- > > function ResizeEvent() > > let &lines = &lines - 1 > > execute '!echo "resizing "'.&lines . ' >> test.t

Re: Why does VimResized get triggered 4 times per resize

2007-03-09 Thread A.J.Mechelynck
Marius Roets wrote: Hi everybody, Can somebody explain the following behaviour to me. In my .vimrc I put the following: " --START -- function ResizeEvent() let &lines = &lines - 1 execute '!echo "resizing "'.&lines . ' >> test.txt' endfunction autocmd VimResized * call ResizeEven

Why does VimResized get triggered 4 times per resize

2007-03-09 Thread Marius Roets
Hi everybody, Can somebody explain the following behaviour to me. In my .vimrc I put the following: " --START -- function ResizeEvent() let &lines = &lines - 1 execute '!echo "resizing "'.&lines . ' >> test.txt' endfunction autocmd VimResized * call ResizeEvent() " END --