git clone git@github.com:ya-luotao/dotfiles ~/Workspace/dotfiles
Install rcm:
brew install rcm
Install the dotfiles:
env RCRC=$HOME/Workspace/dotfiles/rcrc rcup
rcup
mkrc ~/.tmuxinator/proj.yml
tmux configuration:
- Set prefix to
Ctrl+g
. - Improve color resolution.
vim configuration:
- Use vim-plug to manage plugins.
- Use Ag instead of Grep when available.
- Use Tagbar to view the tags of the current file and get an overview of its structure, map
<leader>tag
to:TagbarToggle
. - Set
<leader>
to,
. - Switch between the last two files with
<leader><leader>
.
Shell aliases and scripts:
ll
forls -lha
.mux
fortmux
.path
forecho $PATH | tr -s ":" "\n"
to pretty print the path.gitlog
forgit log --format="%Cgreen%h%Creset %C(yellow)%aN%Creset: %s" --no-merges
to pretty print the git log.dotfiles
forcd ~/Workspace/dotfiles
.workspace
forcd ~/Workspace
.