Tools for trade Late 2014
OS and Application
- MacBook Pro 15inch
- Mac OS X
- Terminal.app
- MacVim.app
- Divvy.app
- Karabiner.app
- LICECap.app
- Writer Pro
- Spotlight as a launcher
CLI
Zsh
- Colorful prompt
- Path and Git branch on the right
- Cabal sandbox status
- Lots of one character aliases
Vim
- vimrc is about 250 kloc
- ctrlp, syntastic, gitgutter, vim-align
- Just omni complete
- Wrap parens
- Emacs keybind in insert mode
- Warnings for whitespace etc.
- Search with /
Git
$ g
forgit
$ s
forgit status --branch --short
$ d
forgit diff
- Commit is always verbose to write good commit comment
$ git fixup
to amend staged changes to previous commit- Heavy user of
git-grep
with these options
Custom defined Git commands
$ git tb
to create topic branch named by last commit$ git gsub
for substitution. I can't write code without this now
Repository management
$ r (repo url)
to clone a repository$ r (repo name)
to move to the cloned repository$ r \TAB
to auto complete repositories$ r \ENTER
to intaractive selection of repository