Getting beyond vi with the vim text editor

VIM TRICKS

Article from Issue 85/2007
Author(s):

You don’t have to use the vim text editor as a latter day vi. These simple tricks will save you time and keystrokes.

Vim has become the de facto replacement for vi in most Linux distributions. If you have been using Unix systems for a while, you probably have not even noticed that you are now using vim instead of vi because all the usual vi commands work as you would expect in vim. However, vim is an extremely powerful editor – think emacs without the need to grow additional fingers and attend yoga classes – and therefore is much more than just a vi clone. These features are ready for you to use, and once you start using them, you might wonder how you survived without them. This article puts you on the road to vim enlightenment by highlighting some useful features you might not know about if you’re accustomed to using vim as another form of vi.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Perl: Tricks with Vim

    The Vim editor has any number of tricks for helping you avoid unnecessary typing. In this month’s article, we look at some effort-saving Vim techniques for Perl hackers.

  • Command Line: File Viewers

    Practical tools such as cat, less, and head are convenient for viewing text.

  • Recoll

    Whether you’re looking for a letter to the Internal Revenue Service or an email from an online trader, the Recoll desktop search machine will help you find it with just a few mouse clicks.

  • Command Line: Vim

    Vim feels at home with any Linux distribution. This text mode only editor, which completely does without a mouse, is a useful aid for command line fans.

  • Commandline: Bash Bootcamp

    Even experts forget the fundamentals. Learn more about – or get a refresher on – the basics of Bash.

comments powered by Disqus