``` git clone https://github.com/vim/vim.git sudo yum install -y ruby ruby-devel lua lua-devel luajit luajit-devel ctags mercurial python python-devel python3 python3-devel tcl-devel perl perl-devel perl-ExtUtils-ParseXS perl-ExtUtils-XSpp perl-ExtUtils-CBuilder perl-ExtUtils-Embed ncurses-devel ./configure --with-features=huge --enable-multibyte --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-luainterp --enable-gui=gtk2 --enable-cscope --with-tlib=ncurses --prefix=/usr make VIMRUNTIMEDIR=/usr/share/vim/vim80 sudo make install ``` ``` curl http://j.mp/spf13-vim3 -L -o - | sh ``` ``` set shiftwidth=2 " Use indents of 4 spaces set expandtab " Tabs are spaces, not tabs set tabstop=2 " An indentation every four columns set softtabstop=2 " Softtab set autoindent set cindent set cinoptions=:s,ps,ts,cs set cinwords=if,else,while,do,for,switch,case let g:tagbar_ctags_bin='/usr/bin/ctags' let g:tagbar_width=26 let g:tagbar_type_go = { \ 'ctagstype' : 'go', \ 'kinds' : [ \ 'p:package', \ 'i:imports:1', \ 'c:constants', \ 'v:variables', \ 't:types', \ 'n:interfaces', \ 'w:fields', \ 'e:embedded', \ 'm:methods', \ 'r:constructor', \ 'f:functions' \ ], \ 'sro' : '.', \ 'kind2scope' : { \ 't' : 'ctype', \ 'n' : 'ntype' \ }, \ 'scope2kind' : { \ 'ctype' : 't', \ 'ntype' : 'n' \ }, \ 'ctagsbin' : 'gotags', \ 'ctagsargs' : '-sort -silent' \ } colorscheme peaksea ``` ``` export GOPATH=$HOME/gopath export GOROOT=$HOME/go export GOBIN=$GOROOT/bin export GOTOOLS=$GOROOT/pkg/tool export PATH=$PATH:$GOBIN:$GOTOOLS:$GOPATH/bin:$HOME/.cargo/bin ```