Submit your breaking news stories and original articles to us by contacting us
In his article, Efficient Editing with vim, Jonathan McPherson covers the basics of efficient vim editing. The article assumes at least novice-level experience with vi.
Among the helpful nuggets of info:
He did leave out one of my favorites, however — the double right square bracket (]]) to skip to the bottom of the file.
Vista less efficient than XP
7 Habits of Effective Text Editing
CLI for noobies: Need redirection?
Windows XP Command Line Reference
CLI for noobies: Test this
Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.
Category: Uncategorized
Tags:

Netbooks and User Satisfaction: It’s All About Expectations
10 Cool Sony Walkman photos – celebrate Walkman’s 30th birthday
4 Responses for "Efficient Editing with vim"
November 17th, 2004 at 7:44 pm
1You know, I don’t think it’s remotely possible to create a text editor less user friendly than vi. I think geeks use it just so they can seem like geeks. I’ll stick with pico for any command line editing, thanks. :-)
November 18th, 2004 at 10:13 am
2Ugh, pico. ;)
Seriously – vi (and especially Vim) is a tool that can be incredibly useful, once you get past that nasty sharp learning curve. I’m so much faster these days with it. I love it.
Also, I didn’t know about ]] to go to the end of the file. Simply typing a cap G will do it as well. #G will jump to line number #, but no number and it goes to the bottom. I’ll tend to use sequences like ggVG to go to the top, go into Visual Line mode, then go to the bottom to select the whole buffer (and I’d bet there’s a better key sequence for that).
November 18th, 2004 at 10:54 am
3Like Brian said, it’s the nasty learning curve that is the toughest to get past. But once past it, vi is an incredibly efficient way to edit. I use it primarily for writing perl scripts and doing text file manipulation.
:%s/^M//g
August 31st, 2005 at 7:00 pm
4hmm…:?
RSS feed for comments on this post
Leave a reply