User Tools

Site Tools


linux:vim

This is an old revision of the document!


vim

:colorscheme desert

open/close folder

zf/zo

Split

:split filename
:vsplit filename
:new filename
:vnew filename
:only
:wall

move

Ctrl+w:h,j,k,l
Ctrl+w:H,J,K,L
Ctrl+w:w

Reference

vim-pathogen

https://github.com/tpope/vim-pathogen

Install:

mkdir -p ~/.vim/autoload ~/.vim/bundle; \
curl -Sso ~/.vim/autoload/pathogen.vim \
    https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
 

Append to ~/.vimrc

execute pathogen#infect()    

NERDTree

https://github.com/scrooloose/nerdtree

Install:

cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git

Maximum Awesome

http://corner.squareup.com/2013/08/fly-vim-first-class.html

git clone https://github.com/square/maximum-awesome.git && cd maximum-awesome && rake
/var/www/dokuwiki/wiki/data/attic/linux/vim.1381563055.txt.gz · Last modified: 2016/05/05 13:06 (external edit)