Skip to content

Splits

Resources

Commands

  • :sp vertical split

  • :vs horizontal split

  • Ctrl + W _ Make current buffer take entire vertical space

  • Ctrl + W | Make current buffer take entire horizontal space

  • Ctrl + W = Make buffers take equal space

  • Ctrl + W r swap panes

  • set splitbelow splitright

  • :res +5 make buffer grow by 5 lines vertically

  • :vert res + 5 make pane grow by 5 lines horizontally