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

Category: Tips and Tricks

May 23, 2022

Get the current file path 4.5 (35)

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

Colin Bartlett
Colin Bartlett
May 9, 2022

Closing hidden buffers 4.4 (41)

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

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.5 (37)

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

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

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

Andy Libby
Andy Libby
September 6, 2021

Maximize the current split 4.8 (32)

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

Colin Bartlett
Colin Bartlett

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

  • Get the current file path

  • Closing hidden buffers

  • Making small changes

  • Changing regex delimiters

Widgets

Top Rated Vim Tips

4.8 (89)

Go to next match and select

4.8 (34)

Print substitutions

4.8 (39)

Investigate characters

4.8 (90)

Automated file templates

4.8 (46)

Interactive replace across files

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