John, redraw works, but it leaves a lot of crap at the terminal (very long, see pastebin link here:) http://pastebin.com/m4cecfb20
here the output counts up to 100 because I used set lines=100 instead of 500. -- MZ On Dec 19, 4:06 pm, John Little <[email protected]> wrote: > On Dec 19, 2:14 pm, Mathieu <[email protected]> wrote: > > > > > $ head .gvimrc > > set lines=500 " over zelous numbers of lines > > let &lines = ((float2nr(0.85*&lines)>52)?float2nr(0.85*&lines):52) > > ...If I issue the first two commands by hand after > > gvim has open. It will do what I want it to do. Why don't it work as > > part of .gvimrc? > > There is an implicit redraw between them when "issue" them by hand. > If I do > > :set lines=500|echomsg &lines > > I get 500 in the message history, but with > > :set lines=500|redraw|echomsg &lines > > I get 87. > > You could try putting a redraw in your .gvimrc, after the set > lines=500. > > Regards, John -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
