Inspired from thoughtbot/dotfiles
This is a set of customised configurations, including zsh, vim & tmux settings as well as plugins.
- Install zsh
curl -L github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
- Set zsh as the login shell
chsh -s $(which zsh)
- Install zsh plugin manager antigen
- Follow instructions of dotfiles
- Run
rcup
to install & update plugins and also to remove unused plugins - Install tmux plugin manager tpm
- Zsh plugins:
zshrc
- Vim plugins:
vimrc.bundles
- Tmux plugins:
tmux.conf
- Run
<Prefix> + I
to install all the plugins first
- The zsh plugins are managed by antigen. They will be automatically check while zsh started.
- The vim plugins are managed by rcm. Run
rcup
to update plugins and remove unused plugins. - The tmux plugins are managed by tpm.
Run
<Prefix> + U
will update tmux plugins and run<Prefix> + alt + u
will remove/uninstall plugins not on the plugin list.
tmux list-windows
- Clone powerline fonts from powerline/fonts
- Change directory to
cd fonts
then install fonts to system./install.sh
- Set airline to use powerline fonts by adding
let g:airline_powerline_fonts = 1
tovimrc
- Set iTerm2 to use powerline symbols by setting
Preference/Text/No ASCII fonts
to12pt Sauce Code Powerline
- Check brew package file packages
- To install all listed packages, run
./brew_install_packages.sh
npm install -g eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
eslint --init
- git clone [email protected]:yepengfan/dotfiles.git
- cd dotfiles
- git remote add upstream [email protected]:thoughtbot/dotfiles.git
- git fetch upstream
- git rebase upstream/master
Please change the user info
in gitconfig to yourself if you fork this repo
https://remarkablemark.org/blog/2016/09/28/vim-syntastic-eslint/