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

Tag: patterns

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 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 12, 2020

Insert matched pattern 4.6 (234)

Use this trick for swift find and replace.

Colin Bartlett
Colin Bartlett
November 9, 2020

Operate until pattern 4.5 (224)

Change, edit, or yank all the text until a pattern.

Colin Bartlett
Colin Bartlett
June 28, 2020

Count Occurrences 3.6 (361)

Get a pattern match count quickly with this one simple Vim trick.

Colin Bartlett
Colin Bartlett
May 11, 2020

Non-greedy regex in Vim 3.9 (342)

Match more accurate patterns by using non-greedy matching.

Andy Libby
Andy Libby
April 9, 2020

Stay in Search Mode 3.8 (340)

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

  • 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