mirror of
https://github.com/amix/vimrc
synced 2025-07-07 08:45:00 +08:00
cscope map & nerdcommenter
This commit is contained in:
@ -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
Submodule sources_non_forked/nerdcommenter added at 0b3d928dce
@ -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
|
||||
|
Reference in New Issue
Block a user