Muffinresearch Labs by Stuart Colville

Archive for the 'Tech' Category

  1. Unicomp Customizer Keyboard Review - 24th December 2009
  2. Amazon now offers DRM free mp3s in the UK - 3rd December 2008
  3. MySQL Moves to Bazaar for Source Control - 22nd June 2008
  4. Howto: Debrand and Flash a Nokia E61 - 11th December 2007
  5. Control your Wii à la Minority Report - 18th November 2007
  6. Multimap opens up it’s API to developers - 29th May 2007
  7. Google Acquires Measuremap - 15th February 2006
  8. Expectations for Thunderbird 1.5 - 9th December 2005
  9. Google Earth Launches - 29th June 2005
  10. Google Maps for the UK launched - 20th April 2005

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.474s.