Git diff colors and moving into a new Mac

git config —global color.diff true

WHY is that not on by default?

Speaking of settings and defaults, I’ve been trying to use Terminal instead of iTerm, mainly because of the fun color schemes. :) A few things I had to configure in the keyboard tab of my scheme:

-> Use option as meta
handy for word-level cursor movement when combined with following .emacs changes

(keyboard-translate ?\C-? ?\d)
(global-set-key “\C-c\C-w” ‘backward-kill-word)

-> Page up/page down

Page up to \033v

Page down to \026

As for those color schemes, to try them out, right click and Show Inspector before changing the default in Settings.

Also, I always have to look this up when I move into a new keyboard, so I’m putting his here: in OS X keyboard settings, change F keys to be F keys, and in keyboard settings -> modifier keys -> current keyboard, change caps lock to be control, and switch and option and command.

Also also, to change the default shell, unlock user settings and right click on a user.

blog comments powered by Disqus

Notes

  1. codeshal posted this