Skip to content

Instantly share code, notes, and snippets.

@fujimura
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujimura/b53e2935f243ef1ae0c8 to your computer and use it in GitHub Desktop.
Save fujimura/b53e2935f243ef1ae0c8 to your computer and use it in GitHub Desktop.
Tools for trade 2014

% Tools for trade 2014 % fujimura

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

  • Homebrew
  • rbenv
  • Zsh
  • tmux

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

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.

Repository management

peco + ghq = r.

  • $ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment