-
Clone my vimrc:
git clone git@github.com:colorhaake/vimrc.git cd vimrc ln -s $(pwd)/vimrc ~/.vimrc
-
Then install Vundle:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
-
Then install bundles:
Launch
vim
and run:PluginInstall
- ctrlp.vim: Fuzzy finder
- NERD Tree: A tree explorer plugin for vim
- syntastic: Syntax checking
- tcomment: Toggle comments
- easymotion: Fast navigation in code
- vim-scala: Scala syntax
- vim-json: JSON syntax
- vim-javascript: Javascript syntax
- vim-jsx: JSX syntax
- vim-clojure-static: Clojure syntax
- vim-fireplace: Clojure REPL
- vim-surround: Parenthesis manipulation
- delimitMat: Auto parenthesis
- vim-multiple-cursors: Sublime Text Command D like function
- vim-trailing-whitespace: Fix/highlight tail space
- vim-airline: Airline
- emmet-vim: Emmet for vim (like zencoding)
- vim-snipmate: Snippets library
- vim-snippets: Snippets
- YouCompleteMe A code-completion engine for Vim
- Tern Tern plugin for Vim
- ghcmod-vim ghc-mod
- vimproc.vim Interactive command execution in Vim (for ghcmod-vim)
Move between windows:
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
- download
MacVim
dmg and install into Applications ln -s /Applications/MacVim.app/Contents/bin/mvim vim
- Install
YouCompleteMe
withVundle
. Add the following line intovimrc
and run PluginIntall
Plugin 'Valloric/YouCompleteMe'
Plugin 'marijnh/tern_for_vim'
brew install cmake
cd ~/.vim/bundle/YouCompleteMe
./install.py --all
- setting Tern
cd ~/.vim/bundle/tern_for_vim
npm install
touch .tern_project // at root of your project
add the following content into .tern_proejct
{
"libs": [
"browser",
"underscore",
"jquery"
],
"plugins": {
"node": {}
}
}
- Done
-
add
Plugin 'eagletmt/ghcmod-vim'
on your~/.vimrc
-
install Shougo/vimproc.vim
-
install DanielG/ghc-mod
-
add
Plugin 'Shougo/vimproc.vim'
on your~/.vimrc
-
execute
:PluginInstall
on your vim -
cd ~/.vim/bundle/vimproc.vim/
andmake
-
stack install ghc-mod
(you can getstack
from Haskell installation) -
add
let $PATH .= (":" . $HOME . "/.stack/bin" . ":" . $HOME . "/.local/bin")
on your~/.vimrc
- organize readme (plugins part)
- fine tune line number
- add solarized color scheme install guide for iterm2
- add powerline font install guide https://github.com/abertsch/Menlo-for-Powerline
- nerdtree and ctrlp integration
- add doc for coffeescript
- add doc for ELM
- add doc for https://github.com/raichoo/purescript-vim
- add doc for flowtype