Skip to content

Bryan's Blog

Just another WordPress site

Tag: vim

Another VI Trick

I was in Ubuntu and every time I was in insert mode and hit one of the arrow keys I’d get a crazy set of control characters. Very frustrating!!!. So looking around I found this trick. Edit your .vimrc file and add the following line:

set nocompatible

That should do it. Restart vi or vim and you’re off to the races.

Author Bryan MayesPosted on October 9, 2008Categories programmingTags arrow keys, control characters, trick, vi, vimLeave a comment on Another VI Trick

Best VIM trick ever

I was using my 1 and 1 account and they default you to using VIM when you’re in shell. It was doing this sill parentheses matching and driving me crazy. I found this handy option and you just place it in your vimrc file:

let loaded_matchparen = 1

Author Bryan MayesPosted on April 7, 2008Categories programmingTags great trick, parentheses, unix, vimLeave a comment on Best VIM trick ever

Recent Posts

  • Eventbrite API – Creating Custom Survey Questions via API
  • Eventbrite – Create an Event via the API
  • Why work in TN?
  • Nashville – Don’t Call Us IT
  • Rails4 and “undefined local variable or method `root_path'”

Recent Comments

  • Victoria on Rest Client for Firefox – Sample POST Request
  • Jomadu on Rails4 and “undefined local variable or method `root_path'”
  • Ivan Kukic on Rest Client for Firefox – Sample POST Request
  • zhangtao on Rest Client for Firefox – Sample POST Request
  • Christian on Rest Client for Firefox – Sample POST Request

Archives

  • October 2016
  • September 2016
  • July 2015
  • September 2014
  • January 2014
  • January 2013
  • November 2011
  • August 2011
  • May 2011
  • February 2011
  • November 2010
  • August 2010
  • July 2009
  • February 2009
  • October 2008
  • July 2008
  • April 2008
  • March 2008
  • February 2008

Categories

  • Eventbrite
  • Family
  • Food
  • Mobile
  • Nashville
  • port forwarding
  • programming
  • Rambling
  • Travel
  • Ubuntu
  • Uncategorized
  • Vmware
  • Work
Bryan's Blog Proudly powered by WordPress