Muffinresearch Labs by Stuart Colville

Archive for the 'Life' Category

  1. A Geek’s Christmas Present Wishlist - 8th December 2010
  2. Molly Emilia Monteiro Colville - 16th January 2009
  3. Inspiring a Sense of Ownership - 10th November 2008
  4. FAIL of the Week: Caffè Nero - 2nd August 2008
  5. Starting a new job - 21st April 2008
  6. A medicinal revolution. - 22nd November 2006
  7. Sean Antonio Monteiro Colville - 15th November 2006
  8. Back from Provence - 25th September 2006
  9. En vacances - 30th August 2006
  10. Emma’s 3rd Birthday - 29th August 2006
  11. It’s going to be a boy! - 27th July 2006
  12. 29 Today - 21st June 2006
  13. Being a Dad - 31st May 2006
  14. One, Ten, Five? - 24th April 2006
  15. Christmas in Portugal and Happy New Year - 31st December 2005
  16. Back to a leafy, green and damp England - 31st May 2005
  17. Off to Portugal - 20th May 2005
  18. Mr. Mugo and the snake… - 16th July 2004
  19. I’ve got my girls back! - 19th May 2004
  20. Captive in Portugal!? - 18th May 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.526s.