Archive for the 'Editors' Category

Vim Scripts

For those of you that have already progressed beyond the basics in Vim, Linux.com has some great tips on using scripts within Vim. I particularly like the Multiple Search script, which allows you to do multiple searches and have them stay highlighted:

Vim Multiple Search Screenshot

For you emacs folks, there is even a script to enable Emacs Emulation.

Five scripts that make life easier with Vim [Linux.com]

Editors & Vim & Tips & Tricks & Command Line & UNIX & Linux & Scripts Jed Daniels 05 Jul 2007 No Comments

Learn to use Vi

gVim Editing an HTML Document
Lifehacker has a link this week to the UC San Diego’s Beginner’s Guide to the Vi Editor. I highly recommend that if you read it, the first thing you do is mentally replace all occurrences of Vi with Vim. Vim is Vi iMproved, and it is an awesome editor once you get comfortable with it. Spending a little time to learn Vim can have a significant gain on productivity and performance when you are doing any sort of text editing. I use Vim for just about everything, from note taking to web design (in my opinion there is no better IDE for HTML and CSS).

Once you get started, I also suggest you go here and print out the Vim cheat Sheet, which will help you remember things until you build the required muscle memory to really fly. They also have an excellent 7-step tutorial based on cheat sheets of slowly increasing complexity.

Vim Cheat Sheet

And another great beginner resource is the Vi Survival Guide. This is a good crash course in getting started with Vi, and it includes some advanced usage too.

Howto & Training & Editors & Vim & Tips & Tricks & Productivity & UNIX & Linux & Command Line & Mac Jed Daniels 03 Jul 2007 No Comments