VimTricks
  • Vim Newsletter
  • Archive
  • Vim Courses
  • About
  • Vim Newsletter
  • Archive
  • Vim Courses
  • About

Tag: splits

December 31, 2020

Open Vim and split files 3.9 (67)

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.3 (62)

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.2 (78)

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

Andy Libby
Andy Libby
December 7, 2020

Resize splits 4.1 (74)

Incrementally resize splits to expose more area in your viewport.

Andy Libby
Andy Libby
October 29, 2020

Split to a Line 4.5 (138)

Jump right to a specific line when opening splits.

Colin Bartlett
Colin Bartlett
August 31, 2020

Change split orientation 3.6 (334)

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

Colin Bartlett
Colin Bartlett
June 15, 2020

Moving Splits 3.3 (440)

Rearrange your splits with familiar directional navigation.

Andy Libby
Andy Libby
April 10, 2020

Scroll two splits simultaneously 3.4 (207)

Keep two Vim vertical splits in sync with this trick

Colin Bartlett
Colin Bartlett

Get the Newsletter

Sign up for the VimTricks newsletter and get Vim tips in your inbox twice a week.

Search the Archives

Our Courses

  • Git Better with Vim

    Git Better with Vim

  • Master Vim Note-Taking

    Master Vim Note-Taking

  • Vim for Rubyists

    Vim for Rubyists

Recent Vim Tips

  • Navigating splits

  • Per file type configs

  • Autocomplete filenames

  • Incrementing non-decimal numbers

Widgets

Top Rated Vim Tips

5 (1)

Vim for Rubyists

4.8 (24)

Git Better with Vim

4.6 (57)

Copy from above or below

4.6 (70)

Ensuring aligned indentation

4.6 (183)

Undo from Insert Mode

Vim Tips by Tag

.vimrc args autocomplete case command line commands course flog fugitive git increment indenting insert interface navigation netrw notes patterns plugins quickfix registers replace ruby search spelling splits splts substitution text-objects unimpaired vim 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.