VimTricks
  • Vim Newsletter
  • Archive
  • Vim Courses
  • About
  • Vim Newsletter
  • Archive
  • Vim Courses
  • About

Tag: patterns

November 12, 2020

Insert matched pattern 4.6 (204)

Use this trick for swift find and replace.

Colin Bartlett
Colin Bartlett
November 9, 2020

Operate until pattern 4.5 (206)

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

Colin Bartlett
Colin Bartlett
June 28, 2020

Count Occurrences 3.7 (330)

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

Colin Bartlett
Colin Bartlett
May 11, 2020

Minimize Greed 3.7 (287)

Match more accurate patterns by using non-greedy matching.

Andy Libby
Andy Libby
April 9, 2020

Stay in Search Mode 3.8 (315)

Search faster in Vim with an improved workflow

Colin Bartlett
Colin Bartlett

Get the Newsletter

Sign up for the VimTricks newsletter and get Vim tips in your inbox twice a week.

Search the Archives

Our Courses

  • Git Better with Vim

    Git Better with Vim

  • Master Vim Note-Taking

    Master Vim Note-Taking

  • Vim for Rubyists

    Vim for Rubyists

Recent Vim Tips

  • Navigating splits

  • Per file type configs

  • Autocomplete filenames

  • Incrementing non-decimal numbers

Widgets

Top Rated Vim Tips

5 (1)

Vim for Rubyists

4.8 (24)

Git Better with Vim

4.6 (57)

Copy from above or below

4.6 (70)

Ensuring aligned indentation

4.6 (183)

Undo from Insert Mode

Vim Tips by Tag

.vimrc args autocomplete case command line commands course flog fugitive git increment indenting insert interface navigation netrw notes patterns plugins quickfix registers replace ruby search spelling splits splts substitution text-objects unimpaired vim 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.