Configuration files for bash, emacs, git, tmux, etc.
To set up a new machine:
-
If on MacOS: import prefs.terminal. Otherwise, fiddle with the terminal colors (see colors.md) and font (either Consolas or Deja Vu Sans Mono) yourself.
-
If necessary, generate SSH key (
ssh-keygen
) and add public key to Github. -
If on MacOS, install Command-Line Tools without XCode.
-
Clone this repo using the SSH protocol (or else you'll have to type in your password to push later).
-
Run
./init.sh path/to/dotfile/repo
. (If necessary,chmod init.sh u+x
first.) -
Add things to .bashrc-local, like aliases and environment variables.
-
If desired and on MacOS, set up keyboard shortcuts and text replacements.
-
Install Vimium Chrome extension and copy vimium-mappings.md into custom key mappings. If on MacOS, check the "Ignore keyboard layout" advanced setting in order to use mappings involving the meta key.
master
pre-emacs-24.4
: replaceswith-eval-after-load
(introduced in Emacs 24.4) witheval-after-load
Thanks to Matt Cocci, Micah Smith, and Erica Moszkwoski for much of this stuff.