mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
cscope map & nerdcommenter
This commit is contained in:
parent
d0176b55a1
commit
3b4328efa7
@ -39,18 +39,18 @@ if has("cscope")
|
||||
set csverb
|
||||
endif
|
||||
|
||||
nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>c :cs find c <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>t :cs find t <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>e :cs find e <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>f :cs find f <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <C-@>i :cs find i ^<C-R>=expand("<cword>")<CR>$<CR>
|
||||
nmap <C-@>d :cs find d <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>css :cs find s <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>csg :cs find g <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>csc :cs find c <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>cst :cs find t <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>cse :cs find e <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>csf :cs find f <C-R>=expand("<cword>")<CR><CR>
|
||||
nmap <leader>csi :cs find i ^<C-R>=expand("<cword>")<CR>$<CR>
|
||||
nmap <leader>csd :cs find d <C-R>=expand("<cword>")<CR><CR>
|
||||
|
||||
let g:miniBufExplMapCTabSwitchBufs = 1
|
||||
let g:miniBufExplMapWindowNavVim = 1
|
||||
let g:miniBufExplMapWindowNavArrows = 1
|
||||
#let g:miniBufExplMapCTabSwitchBufs = 1
|
||||
#let g:miniBufExplMapWindowNavVim = 1
|
||||
#let g:miniBufExplMapWindowNavArrows = 1
|
||||
|
||||
let tmpcolumn=$COLUMNS
|
||||
execute "set columns=".tmpcolumn
|
||||
|
1
sources_non_forked/nerdcommenter
Submodule
1
sources_non_forked/nerdcommenter
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 0b3d928dce8262dedfc2f83b9aeb59a94e4f0ae4
|
@ -44,7 +44,7 @@
|
||||
" => General
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Sets how many lines of history VIM has to remember
|
||||
set history=700
|
||||
set history=10
|
||||
|
||||
" Enable filetype plugins
|
||||
filetype plugin on
|
||||
|
Loading…
Reference in New Issue
Block a user