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

Category: Tips and Tricks

January 18, 2021

Autocomplete filenames 4 (44)

Autocomplete filenames in Vim with ctrl-x ctrl-f.

Colin Bartlett
Colin Bartlett
January 14, 2021

Incrementing non-decimal numbers 4.4 (45)

Vim’s nrformats option controls which types of numbers can be incremented and decremented.

Andy Libby
Andy Libby
January 11, 2021

Ensuring aligned indentation 4.5 (66)

Use Vim’s shiftround option to ensure evenly aligned indentation.

Colin Bartlett
Colin Bartlett
January 7, 2021

Vertical Alignment 4.4 (46)

Align your code, notes, or text with the Tabular plugin.

Colin Bartlett
Colin Bartlett
January 4, 2021

Word wrapping 4.2 (66)

Wrap long lines and improve navigation when writing prose or notes.

Colin Bartlett
Colin Bartlett
December 31, 2020

Open Vim and split files 3.9 (66)

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 (61)

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

Colin Bartlett
Colin Bartlett
December 24, 2020

Normal mode replacement 3.8 (45)

Normal mode replacement

Andy Libby
Andy Libby
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 17, 2020

Autocomplete word for word 4.3 (67)

Use insert completion mode to autocomplete a multi-word phrase.

Colin Bartlett
Colin Bartlett

Posts navigation

1 2 … 9 Older posts

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

  • Autocomplete filenames

  • Incrementing non-decimal numbers

  • Ensuring aligned indentation

  • Vertical Alignment

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 (204)

Insert matched pattern

4.6 (181)

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.