VimTricks
  • Vim Newsletter
  • Archive
  • Vim Books
  • About
  • Vim Newsletter
  • Archive
  • Vim Books
  • About

Tag: splits

January 31, 2022

Splitting to a specific size 4.6 (31)

Open Vim splits to a specific height or width by prepending a number to the command.

Andy Libby
Andy Libby
November 7, 2021

Open splits more naturally 4.8 (58)

Open Vim splits to the right and below for a more natural movement.

Colin Bartlett
Colin Bartlett
September 6, 2021

Maximize the current split 4.8 (33)

Use the vim-maximizer plugin to get a closer look at a single split.

Colin Bartlett
Colin Bartlett
December 31, 2020

Open Vim and split files 4 (75)

Use -o or -O to open multiple files in splits from the command line.

Colin Bartlett
Colin Bartlett
December 28, 2020

Open file in a split 4.4 (65)

Use ctrl-w f to open the file under the cursor in a new split.

Colin Bartlett
Colin Bartlett
December 21, 2020

Close all other splits 4.3 (81)

Use :only or ctrl-w o to close all other splits in Vim.

Andy Libby
Andy Libby
December 7, 2020

Resize splits 4.1 (83)

Incrementally resize splits to expose more area in your viewport.

Andy Libby
Andy Libby
October 29, 2020

Split to a Line 4.4 (150)

Jump right to a specific line when opening splits.

Colin Bartlett
Colin Bartlett
August 31, 2020

Change split orientation 3.3 (403)

Get a better view by switching between vertical and horizontal splits.

Colin Bartlett
Colin Bartlett
August 13, 2020

Equalize your splits 3.7 (423)

Keep your splits even by using ctrl-w = to straighten things up.

Colin Bartlett
Colin Bartlett

Posts navigation

1 2 Older posts

Get the Newsletter

Search the Archives

Our Books

  • Git Better with Vim

    Git Better with Vim

Recent Vim Tips

  • Edit multiple lines at once in Vim

  • Get the current file path

  • Closing hidden buffers

  • Making small changes

Widgets

Top Rated Vim Tips

4.9 (114)

Copying and pasting lines

4.9 (40)

Investigate characters

4.8 (71)

Insert special • characters ◆

4.8 (47)

Reselect pasted text

4.8 (48)

Improving usage of registers

Vim Tips by Tag

args books buffers case commands commenting courses ebooks ex filter flog fugitive git global indenting insert interface mappings markdown marks math motions navigation netrw notes patterns plugin plugins quickfix regex registers replace search shell skeleton snippets splits substitution template text-objects unimpaired vim vimrc visual web

About VimTricks

Colin and AndyVimTricks is published by Colin Bartlett and Andy Libby, two Vim enthusiasts and software developers with more than 40 years combined experience with Vim.

Links

© Copyright 2020 Nimble Industries, Inc.
Click to Copy