How to increase the vertical split window size in Vim

后端 未结 9 1664
抹茶落季
抹茶落季 2020-12-22 15:57

:vsplit (short form: :vs) split the Vim viewport vertically. :30vs splits the viewport, making the new window 30 characters wide. Once

9条回答
  •  离开以前
    2020-12-22 16:13

    I am using numbers to resize by mapping the following in .vimrc

    nmap 7 :res +2 " increase pane by 2 
    nmap 8 :res -2 " decrease pane by 2
    nmap 9 :vertical res +2 " vertical increase pane by 2
    nmap 0 :vertical res -2 " vertical decrease pane by 2
    

提交回复
热议问题