Send me your favorite vi Commands and Stories

Posted by Corban Brook Mon, 08 Jan 2007 15:48:29 GMT

Vi has been around for over 30 years now and in celebration of that we are compiling a list of obscure vi/vim commands and anecdotes.

Send your submission to viroundup@gmail.com or comment in this article. Include a useful vi/vim command and or anecdote about how vi saved the day. After two weeks I will be compiling a large article of your submissions so be sure to include your name and or homepage so I may cite you.

Vi Round Up

As a developer using vi and vim for over 10 years now I often ponder how many of the vi commands I have overlooked (as there are many) and which commands other developers use. Could I be using vi more effectively for the tasks at hand? Am i missing out?

I imagine all vi users use the same basic commands but then each depending on their role, be it a web developer, programmer, or systems administrator, hold unique arsenals of obscure commands they break out when certain scenarios arise.

In order to help us all expand our vi arsenals I propose a call for submissions. Please send me your favorite obscure vi commands and stories. I will accept submissions either in the comment section of this article or by email. After 2 weeks I will compile all of the submissions into a large article with citations to the submitters.

Information to include

Below are some examples of information to include.

  • vi/vim command and or tip/trick.
  • usage scenario.
  • story about how said command saved the day
  • your role (programmer, web developer, admin, etc).
  • your name and or homepage (for citation).

Send your submissions to..

viroundup@gmail.com or leave a comment in this article.

Tags ,  | 2 comments

Comments: 2

Leave a response | RSS feed for this post

  1. # Somndev said about 8 hours later:

    I dont claim credit for this command, I think I found it on yak.net, however, I use it all the time.

    Its using VI to remove ^M’s from text files.

    :%s///g

  2. # E. Macs said 1 day later:

    :q

Leave a response

Toggle website and email fields