Muffinresearch Labs by Stuart Colville

Archive for the 'Apple' Category

  1. From OSX to Ubuntu - 5th April 2009
  2. Lineform: Vector Graphics App for Mac - 21st December 2008
  3. FAIL of the Week: Apple’s Invisible Transparency - 19th September 2008
  4. Leopard Bug – Screensaver causes coreservicesd to crash - 2nd September 2008
  5. FAIL of the week: Apple Mighty Mouse - 1st July 2008
  6. iSync “No Device Found” Error on OSX 10.5 Leopard - 23rd June 2008
  7. Fixing the display of history in terminal.app - 1st June 2008
  8. VMWare Importer for converting Parallels images - 4th May 2008
  9. mac tip: Lock screen and pause iTunes - 24th April 2008
  10. From the command line to your clipboard and vice versa - 4th March 2008
  11. Macbook Air launched, but will it fly? - 15th January 2008
  12. Running a Safari 2 Standalone Alongside Safari 3 - 20th November 2007
  13. Mark all mail as read in mail.app - 25th May 2007
  14. Encrypt your homedir on your mac without FileVault - 5th April 2007
  15. MacFUSE: sshfs for your mac - 19th January 2007
  16. Apple iPhone - 10th January 2007
  17. Ubuntu Edgy under Parallels Desktop for mac - 3rd November 2006
  18. Disco Beta Review - 25th October 2006
  19. Emulating right-click in windows under Parallels Desktop - 8th October 2006
  20. iTunes pegged my CPU at over 130%? - 4th October 2006
  21. Running Ubuntu under Parallels Desktop for Mac - 13th August 2006
  22. Re-map the apple key for Windows under Parallels - 31st July 2006
  23. Alternatives to terminal.app on mac OSX - 23rd May 2006
  24. Apple MacBook is let loose - 16th May 2006
  25. Intel Macs Unleashed - 11th January 2006
  26. Settling in with my Powerbook - 3rd November 2005
  27. The Lab goes the way of the Apple - 20th October 2005
  28. Apple Bobbing - 18th August 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.463s.