Re: How to redraw the whole vim screen after splitting new windows?

2009-04-01 Thread Tony Mechelynck
On 31/03/09 12:42, Clark J. Wang wrote: On Mar 30, 10:38 pm, Charles Campbellcharles.e.campb...@nasa.gov wrote: Clark J. Wang wrote: On Mar 27, 7:16 pm, Clark J. Wangdearv...@gmail.com wrote: I included %{winnr()} in the var `statusline'. But sometimes when I splitted new windows the

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-31 Thread Clark J. Wang
On Mar 30, 10:38 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: Clark J. Wang wrote: On Mar 27, 7:16 pm, Clark J. Wang dearv...@gmail.com wrote: I included %{winnr()} in the var `statusline'. But sometimes when I splitted new windows the winnr() string on screen was not updated

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-31 Thread John Little
The following steps can reproduce the issue for vim 7.2.69: vim -u NONE -N :set laststatus=2 :set statusline=%{winnr()} :vsplit :split I see this (two windows with status line set to 2) with 7.2.141 and 7.1.314. I noticed that to see the problem, the :split has to be in window 1. My

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-30 Thread Charles Campbell
Clark J. Wang wrote: On Mar 27, 7:16 pm, Clark J. Wang dearv...@gmail.com wrote: On Mar 27, 6:42 pm, Tim Chase v...@tim.thechases.com wrote: What are you trying to do that involves splits and redraws? -tim I included %{winnr()} in the var `statusline'. But

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-29 Thread Clark J. Wang
On Mar 27, 7:16 pm, Clark J. Wang dearv...@gmail.com wrote: On Mar 27, 6:42 pm, Tim Chase v...@tim.thechases.com wrote: What are you trying to do that involves splits and redraws? -tim I included %{winnr()} in the var `statusline'. But sometimes when I splitted new windows the winnr()

How to redraw the whole vim screen after splitting new windows?

2009-03-27 Thread Clark J. Wang
For window-related autocmds I only found WinEnter and WinLeave. Any idea? --~--~-~--~~~---~--~~ You received this message from the vim_use maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-27 Thread Tim Chase
Clark J. Wang wrote: For window-related autocmds I only found WinEnter and WinLeave. Any idea? I'm not sure I follow what you want...you can redraw the screen at any time with control+L, but it has nothing to do with when you split windows. Vim generally does a good job of maintaining its

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-27 Thread Sylvain Viart
Hi, Tim Chase a écrit : Clark J. Wang wrote: For window-related autocmds I only found WinEnter and WinLeave. Any idea? What about :redr[aw][!]Redraw the screen right now. When ! is included it is cleared first. Useful to update the screen halfway

Re: How to redraw the whole vim screen after splitting new windows?

2009-03-27 Thread Clark J. Wang
On Mar 27, 6:42 pm, Tim Chase v...@tim.thechases.com wrote: What are you trying to do that involves splits and redraws? -tim I included %{winnr()} in the var `statusline'. But sometimes when I splitted new windows the winnr() string on screen was not updated (try :vsplit and then :split). So