1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00

cscope map & nerdcommenter

This commit is contained in:
qhuang 2013-07-30 14:26:49 +08:00
parent d0176b55a1
commit 3b4328efa7
3 changed files with 13 additions and 12 deletions

View File

@ -39,18 +39,18 @@ if has("cscope")
set csverb set csverb
endif endif
nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR> nmap <leader>css :cs find s <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR> nmap <leader>csg :cs find g <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>c :cs find c <C-R>=expand("<cword>")<CR><CR> nmap <leader>csc :cs find c <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>t :cs find t <C-R>=expand("<cword>")<CR><CR> nmap <leader>cst :cs find t <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>e :cs find e <C-R>=expand("<cword>")<CR><CR> nmap <leader>cse :cs find e <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>f :cs find f <C-R>=expand("<cword>")<CR><CR> nmap <leader>csf :cs find f <C-R>=expand("<cword>")<CR><CR>
nmap <C-@>i :cs find i ^<C-R>=expand("<cword>")<CR>$<CR> nmap <leader>csi :cs find i ^<C-R>=expand("<cword>")<CR>$<CR>
nmap <C-@>d :cs find d <C-R>=expand("<cword>")<CR><CR> nmap <leader>csd :cs find d <C-R>=expand("<cword>")<CR><CR>
let g:miniBufExplMapCTabSwitchBufs = 1 #let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplMapWindowNavVim = 1 #let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1 #let g:miniBufExplMapWindowNavArrows = 1
let tmpcolumn=$COLUMNS let tmpcolumn=$COLUMNS
execute "set columns=".tmpcolumn execute "set columns=".tmpcolumn

@ -0,0 +1 @@
Subproject commit 0b3d928dce8262dedfc2f83b9aeb59a94e4f0ae4

View File

@ -44,7 +44,7 @@
" => General " => General
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember " Sets how many lines of history VIM has to remember
set history=700 set history=10
" Enable filetype plugins " Enable filetype plugins
filetype plugin on filetype plugin on