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

Category: Tips and Tricks

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
August 16, 2021

Print substitutions 4.8 (34)

Use Vim’s global command to print substitutions when replacing.

Colin Bartlett
Colin Bartlett
July 26, 2021

Reselect pasted text 4.8 (47)

Reselect the last pasted text with this Vim mapping.

Colin Bartlett
Colin Bartlett
June 21, 2021

Bookmark frequent locations 4.7 (36)

Use marks to quickly jump back to frequently edited files, like your .vimrc.

Colin Bartlett
Colin Bartlett
June 14, 2021

Highlight syntax inside Markdown 4.8 (46)

Vim can highlight code syntax embedded inside Markdown

Colin Bartlett
Colin Bartlett
June 7, 2021

Commenting code 4.7 (51)

Comment or uncomment code in Vim with or without a plugin.

Colin Bartlett
Colin Bartlett
May 31, 2021

Change character case 4.8 (43)

Change the case of text in Vim with motions and text objects.

Colin Bartlett
Colin Bartlett
May 24, 2021

Preview Markdown files 4.2 (32)

Use Livedown to enable live Markdown document preview in Vim.

Colin Bartlett
Colin Bartlett
May 17, 2021

Insert mode edit mappings 4.8 (55)

Use insert mode mappings to stay in insert mode.

Colin Bartlett
Colin Bartlett
May 10, 2021

Interactive replace across files 4.8 (46)

Use cdo and the confirm flag to find and replace across a project.

Colin Bartlett
Colin Bartlett

Posts navigation

Newer posts 1 2 3 … 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