vimenv

configure vim environment
git clone git://git.unixkoans.com/vimenv.git
Log | Files | Refs | Submodules

commit b2a11354779a852a62fc406eef42ed2c177a6f4f
parent cd001beba07d647bc92d36fa89321cfac2adbe4f
Author: Xiaodong Xu <[email protected]>
Date:   Thu Jul 12 00:07:58 +0800

Add more plugins

Diffstat:
.gitmodules | 15+++++++++++++++
_vim/bundle/ansiesc | 1+
_vim/bundle/endwise | 1+
_vim/bundle/splitjoin | 1+
_vim/bundle/textobj-function | 1+
_vim/bundle/textobj-rubysymbol | 1+
_vimrc | 9+++++++--
7 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/.gitmodules b/.gitmodules @@ -76,3 +76,18 @@ [submodule "_vim/bundle/textobj-entire"] path = _vim/bundle/textobj-entire url = git://github.com/kana/vim-textobj-entire.git +[submodule "_vim/bundle/endwise"] + path = _vim/bundle/endwise + url = git://github.com/tpope/vim-endwise.git +[submodule "_vim/bundle/splitjoin"] + path = _vim/bundle/splitjoin + url = git://github.com/AndrewRadev/splitjoin.vim.git +[submodule "_vim/bundle/textobj-function"] + path = _vim/bundle/textobj-function + url = git://github.com/kana/vim-textobj-function.git +[submodule "_vim/bundle/textobj-rubysymbol"] + path = _vim/bundle/textobj-rubysymbol + url = git://github.com/bootleq/vim-textobj-rubysymbol.git +[submodule "_vim/bundle/ansiesc"] + path = _vim/bundle/ansiesc + url = git://github.com/vim-scripts/AnsiEsc.vim.git diff --git a/_vim/bundle/ansiesc b/_vim/bundle/ansiesc @@ -0,0 +1 @@ +Subproject commit d2bb7878622e4c16203acf1c92a0f4bc7ac58003 diff --git a/_vim/bundle/endwise b/_vim/bundle/endwise @@ -0,0 +1 @@ +Subproject commit 74306aa18c03ee2fdb044609e6f0bc866872711d diff --git a/_vim/bundle/splitjoin b/_vim/bundle/splitjoin @@ -0,0 +1 @@ +Subproject commit c456bec3e30f943f7cfeebbe00fd8709cd604849 diff --git a/_vim/bundle/textobj-function b/_vim/bundle/textobj-function @@ -0,0 +1 @@ +Subproject commit 3d4ef9169f5507ce3c996280d5b8ea473327b60f diff --git a/_vim/bundle/textobj-rubysymbol b/_vim/bundle/textobj-rubysymbol @@ -0,0 +1 @@ +Subproject commit 7fd2a8bde1be3030dccddaa6e2be16bac4f2c881 diff --git a/_vimrc b/_vimrc @@ -1,6 +1,6 @@ " " author: Xu Xiaodong <[email protected]> -" modified: 2012 Jun 30 +" modified: 2012 Jul 08 " "-- source --" @@ -30,7 +30,7 @@ set display=lastline set omnifunc=syntaxcomplete#Complete set laststatus=2 -set statusline=\ [%n]\ \ %F%m%r\ \ %h%y%w\ \ [%l,%c]\ \ [%L]\ \ [%P] +" set statusline=\ [%n]\ \ %F%m%r\ \ %h%y%w\ \ [%l,%c]\ \ [%L]\ \ [%P] syntax on @@ -112,6 +112,7 @@ nmap <leader>e :e! $MYVIMRC<cr> nmap Q gqap" vmap Q gq +" select window nmap <C-h> <C-w>h nmap <C-j> <C-w>j nmap <C-k> <C-w>k @@ -126,6 +127,10 @@ nmap <leader>- <c-w>s<c-w>j " close window nmap <leader>cw :close<cr> +" command history +cmap <C-p> <Up> +cmap <C-n> <Down> + " grep map <leader>n :cn<cr> map <leader>p :cp<cr>