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

Category: Tips and Tricks

June 12, 2022

Edit multiple lines at once in Vim 4.4 (46)

Use the vim-visual-multi plugin to edit multiple lines at once in Vim.

Colin Bartlett
Colin Bartlett
May 23, 2022

Get the current file path 4.4 (45)

Create a mapping to copy the present file path to your clipboard.

Colin Bartlett
Colin Bartlett
May 9, 2022

Closing hidden buffers 4.4 (42)

Delete all hidden buffers in Vim to speed up and clean up.

Colin Bartlett
Colin Bartlett
April 25, 2022

Making small changes 4.3 (64)

Use r to replace a single character in Vim.

Andy Libby
Andy Libby
March 7, 2022

Changing regex delimiters 4.7 (86)

Use any delimiter in your regular expression to avoid escaping slashes.

Colin Bartlett
Colin Bartlett
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
January 3, 2022

Clear search highlight 4.6 (38)

Clear the annoying persistent search highlight in Vim with any of these methods.

Colin Bartlett
Colin Bartlett
November 29, 2021

Toggle Vim boolean options 4.7 (31)

Vim allows toggling any boolean option with this one quick trick.

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
October 25, 2021

Filtering through an external command 4.6 (29)

Filter content through an external command to manipulate it with other programs.

Andy Libby
Andy Libby

Posts navigation

1 2 … 13 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