Wednesday, November 26, 2014

VI or VIM cheat sheet

Moving to a Unix system is a lot easier than it use to be but learning all the terminal commands can be daunting. There are awesome cheat sheets to help new users remember the system commands, but few for learning the specific text based programs.

I am a big fan of the VI text editor. It's fast, customizable and available on pretty much all Unix/Linux machines. Over the years, I'm relied on VI for most of my text editing work but I've always thought I was just scratching the surface of VI with respect to all the functionality it ships with. Furthermore, most of the vi cheat sheets are multipaged, complex and hard to understand and master.

Last weekend, I decided to spend some time looking through all the VI commands and then compiling a single-page cheat sheet with commands I thought was essential. My hope is this will help me use more of the VI functionality, which I have already accomplished by creating the cheat sheet.

I modeled the VI cheat sheet after Fosswire.com's awesome Linux cheat sheet and hope new and existing users of VI will find it useful. Please let me know if you find any errors.