VimTricks
  • Vim Newsletter
  • Archive
  • Vim Books
  • About
  • Vim Newsletter
  • Archive
  • Vim Books
  • About
Colin Bartlett

Colin Bartlett

Vim enthusiast and software developer for more than 20 years.
Follow:
June 28, 2020

Count Occurrences 3.9 (1433)

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

Colin Bartlett
Colin Bartlett
June 25, 2020

Write with sudo without leaving Vim 3.1 (513)

Use tee or a handy plugin to save a privileged file that you forgot to open with sudo.

Colin Bartlett
Colin Bartlett
June 22, 2020

View your history from command mode 2.6 (1237)

Easily run a Vim command again by viewing your history.

Colin Bartlett
Colin Bartlett
June 8, 2020

Displaying Color Codes 3.1 (680)

With a little help, Vim can highlight color codes in their actual colors.

Colin Bartlett
Colin Bartlett
May 28, 2020

Reselect last visual selection 3.2 (1408)

Try this quick trick to make a new edit on something you just selected.

Colin Bartlett
Colin Bartlett
May 25, 2020

Relative line numbering 3 (494)

Edit faster by eliminating the need to do arithmetic in your head.

Colin Bartlett
Colin Bartlett
May 14, 2020

Jump to next merge conflict 3.7 (680)

Whisk through tricky merge conflicts with Unimpaired’s bracket mappings.

Colin Bartlett
Colin Bartlett
May 7, 2020

Swap two characters in Vim 3.4 (373)

Swap two characters in Vim either forward or backwards with this commonly used command. Perfect for cleaning up typos.

Colin Bartlett
Colin Bartlett
April 30, 2020

Navigate through quickfix history 2.6 (778)

Quickly get back to a previous quickfix list with :colder.

Colin Bartlett
Colin Bartlett
VimTricks Header
April 24, 2020

VimTricks: The Vim Newsletter 5 (4)

More than 2 years ago, Andy and I started a tiny little website called VimTricks on a whim. It was a place to showcase tidbits… Read more

Colin Bartlett
Colin Bartlett

Posts pagination

Newer posts 1 … 9 10 11 Older posts
Loading

Search the Archives

Our Books

  • Git Better with Vim

    Git Better with Vim

Recent Vim Tips

  • Inspect Character Under Cursor in Vim

  • Vim Calculator

  • Vim split to a specific size

  • Vim Command Line Window

Widgets

Top Rated Vim Tips

5 (4)

VimTricks: The Vim Newsletter

4 (1336)

Get the current file path

4.4 (956)

Equalize your splits

4.2 (830)

Vim Spell Check

4.2 (704)

Vim Search Visual Selection

Vim Tips by Tag

alignment args autocmd autocomplete books buffers case checkbox checkboxes commands config courses csv ebooks filter folding fugitive git indenting insert interface mappings markdown motions native navigation netrw notes patterns plugin plugins quickfix regex registers replace search shell splits substitution text-objects unimpaired vim vimrc visual whitespace

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.

Have a Vim tip? Email us! [email protected]

Links

Copyright © 2022 Nimble Industries, Inc.
SSL Certificate Monitoring by TrackSSL
Click to Copy