Muffinresearch Labs by Stuart Colville

Archive for the 'Web Standards' Category

  1. IE8 will now render as IE8 by default - 4th March 2008
  2. Shawn Lawton Henry on WCAG 2.0 in London, 5th June - 28th May 2007
  3. SXSWi 07 Notes: WaSP Annual Meeting Takin’ it to the street - 12th March 2007
  4. Web Standards Survival Handbook Part One - 12th January 2006
  5. Become a better Standardista - 31st October 2005
  6. Leaving standards at the door? - 6th May 2005
  7. Hand-coding suits me sir! - 12th June 2004

Insert a tab character in vim when expand tabs is on|(0)

I have vim set-up to use spaces in place of tabs. Sometimes you need to use an actual tab e.g. editing a Makefile. Now whilst it’s possible to change settings so that tabs are used for specific files, a quick tip to remember is to simply type in insert mode:

Ctrl+v tab

That is Ctrl and “V” and hit the tab key, et voila you’ve entered an actual tab.

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Photos on Flickr

© Copyright 2004-13 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.461s.