OS X Tips

From TomJudge.com
Jump to: navigation, search

OS X Tips

Disabling Command+W in Terminal

If your a vim user and use both PC's and Mac's then you have probably command+w in the Terminal app before when trying to change vim windows. Luckily for me I just have to reattach to my tmux session to but its still annoying, so here is how to override the short cut so you never have that problem again.

  1. Open System Preferences
  2. Open Keyboard settings
  3. Go to the Keyboard Shortcuts tab
  4. Click the + button at the bottom of the list of short cuts.
  5. Select Terminal as the application
  6. Set the menu title to "Close Window"
  7. Set the sortcut key to something you will never do by accident; I used command+]

Making your keyboard work properly in the Terminal.app

Here is a very good article: http://tech.inhelsinki.nl/gnu_developement_under_mac_os_x/

Personal tools