Vim plugins what I use

from Misc 2015/10/16 15:35
pathogen.vim
  • makes it super easy to install plugins and runtime files in their own private directories
  • Installation
    • $ mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -Lsso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
  • Run Path Manipulation
    • Add following to your .vimrc:execute pathogen#infect()
vim-sensible
  • Installation
    • $ cd ~/.vim/bundle && git clone https://github.com/tpope/vim-sensible.git
vim-airline
  • Installation
    • $ git clone https://github.com/bling/vim-airline ~/.vim/bundle/vim-airline
    • remember to run :Helptags to generate help tags
  • Configuration (.vimrc)
    • :help airline
    • set laststatus=2
    • let g:airline_powerline_fonts=1
    • let g:airline#extensions#tabline#enabled=1
    • let g:airline#extensions#tabline#fnamemode=":t"
    • let g:airline#extensions#branch#enabled=1
vim-fugitive
  • Installation
    • $ cd ~/.vim/bundle
    • $ git cline https://github.com/tpope/vim-fugitive.git
    • $ vim -u NONE -c "helptags vim-fugitive/doc" -c q
  • Configuration (.vimrc)
    • vnoremap b :Gblame<cr>
ctrlp.vim
  • Installation
    • $ cd ~/.vim
    • $ git clone https://github.com/kien/ctrlp.vim.git bundle/ctrlp.vim
    • $ vim -u NONE -c "helptags vbundle/ctrlp.vim/doc" -c q
  • Configuration (.vimrc)
    • set wildignore+=*/tmp/*,*.so,*.swp,*.zip
    • let g:ctrlp_working_path_mode='ra'
    • let g:ctrlp_custom_ignore='\v[\/]\.(git|hg|svn)$'
    • let g:ctrlp_user_command='find %s -type f'
vim buffer shortkeys
  • Configuration (.vimrc)
    • nmap <c-t> :enew<cr>
    • nmap <c-l> :bnext<cr>
    • nmap <c-h> :bprevious<cr>
powerline fonts
  • https://github.com/powerline/fonts
2015/10/16 15:35 2015/10/16 15:35

Trackback Address >> 이 글에는 트랙백을 보낼 수 없습니다

댓글을 달아 주세요