Map for maximizing sub-window vertically
How to map this sequence of keys to F3 in Vim: <Ctrl>+W 9 9 9 +? 开发者_运维百科That's sequence for maximizing current :sp window over the whole screen.
I would probably use :
:noremap <F3> <C-W>_<C-W>\|
Where :
- <C-W>|maximizes horizontally
- <C-W>_maximizes vertically
See :help window-resize for other possibilities.
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论