O'Reilly logo

Mastering Vim by Ruslan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plugin spotlight – unimpaired

Tim Pope's vim-unimpaired is a plugin that adds a number of handy mappings for existing Vim commands (and a few new ones). I use it daily, as I find mappings more intuitive—]b and [b cycle through open buffers, ]f and [f cycle through files in a directory, and so on. It's available from GitHub at https://github.com/tpope/vim-unimpaired (see the Installing plugins section earlier in this chapter for installation instructions).

Here are some of the mappings vim-unimpaired provides:

  • ]b and [b cycle through buffers

  • ]f and [f cycle through files in the same directory as the current buffer

  • ]l and [l cycle through the location list (see the Location List section in Chapter 5Build, Test, and Execute)

  • ]q and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required