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

Tag: substitution

August 16, 2021

Print substitutions 4.8 (34)

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

Colin Bartlett
Colin Bartlett
August 24, 2020

Repeat the last substitution 3.7 (230)

Vim has several useful ways to repeat the last substitution.

Colin Bartlett
Colin Bartlett
May 11, 2020

Non-greedy regex in Vim 3.9 (346)

Match more accurate patterns by using non-greedy matching.

Andy Libby
Andy Libby
April 9, 2020

Stay in Search Mode 3.8 (341)

Search faster in Vim with an improved workflow

Colin Bartlett
Colin Bartlett

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