First, clone this repo onto your system:
$ git clone https://github.com/jason2506/Dotfiles.git && cd Dotfiles
Then, you should create symlinks in your home directory to point to the actual dotfile files:
$ ln -s `pwd`/vimrc ~/.vimrc
$ ln -s `pwd`/vim ~/.vim
$ ln -s `pwd`/gitconfig ~/.gitconfig
$ ln -s `pwd`/config.fish ~/.config/fish/config.fish
To have full features of those dotfiles, you need to install the following packages/softwares:
- Fish: http://fishshell.com/
- Git: http://git-scm.com/
- Vim: http://www.vim.org/
- Exuberant Ctags: http://ctags.sourceforge.net/
- Show Git status on prompt.
- Lighter color configure.
- .DS_Store
- *.swp
git br
=git branch
git ci
=git commit
git co
=git checkout
git lg
=git log --graph --oneline
git st
=git status
- Show syntax highlight and line number.
- Remember last cursor position for each file.
- Disable backup setting.
- Enable auto indent/smart indent.
- Indent = 2 whitespaces (html, xml, css, vim) or 4 whitespaces (others).
- <leader>y (visual mode): Copy selected content into clipboard.
- <leader>x (visual mode): Cut selected content into clipboard.
- <leader>p (normal mode): Paste clipboard content.
- <leader>tn (normal mode): Shortcut for
:tabnew
. - <leader>tc (normal mode): Shortcut for
:tabclose
. - <leader>tm (normal mode): Shortcut for
:tabmove
. - <leader>ed (normal mode): Toggle NERDTree window.
- <leader>et (normal mode): Toggle Tagbar window.
- <leader>ee (normal mode): Toggle NERDTree and Tagbar window at the same time.
- > (visual mode): Indent selected lines.
- < (visual mode): Unindent selected lines.
- > (normal mode): Indent current line.
- < (normal mode): Unindent current line.
- Better-CSS-Syntax-for-Vim: https://github.com/ChrisYip/Better-CSS-Syntax-for-Vim
- CtrlP.vim: https://github.com/kien/ctrlp.vim
- delimitMate: https://github.com/Raimondi/delimitMate
- html5.vim: https://github.com/othree/html5.vim
- NERDTree: https://github.com/scrooloose/nerdtree
- NeoComplCache: https://github.com/Shougo/neocomplcache
- SWIG-syntax: https://github.com/vim-scripts/SWIG-syntax
- Tagbar: https://github.com/majutsushi/tagbar
- vim-addon-haskell: https://github.com/MarcWeber/vim-addon-haskell
- [deps] vim-addon-actions: https://github.com/MarcWeber/vim-addon-actions
- vim-coffee-script: https://github.com/kchmck/vim-coffee-script
- vim-cython: https://github.com/tshirtman/vim-cython
- vim-fish: https://github.com/aliva/vim-fish
- vim-gitgutter: https://github.com/airblade/vim-gitgutter.git
- vim-nerdtree-tabs: https://github.com/jistr/vim-nerdtree-tabs
- vim-pathogen: https://github.com/tpope/vim-pathogen
- vim-powerline: https://github.com/Lokaltog/vim-powerline
- vim-snipmate: https://github.com/garbas/vim-snipmate
- [snip] vim: https://github.com/honza/vim-snippets
- [deps] tlib_vim: https://github.com/tomtom/tlib_vim
- [deps] vim-addon-mw-utils: https://github.com/MarcWeber/vim-addon-mw-utils
- vim-surround: https://github.com/tpope/vim-surround
- ZenCoding-vim: https://github.com/mattn/zencoding-vim