diff options
author | LAN-TW <lantw44@gmail.com> | 2013-07-04 22:23:22 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-07-04 22:23:22 +0800 |
commit | ce1f3be48858c53066722b180ce535cfafc4484e (patch) | |
tree | 0635812629f13b1afbdf48b9e10c6895f17e9430 /vimrc | |
parent | 004bbf6579c0f6df6b59916d4a76c0323fa11fbe (diff) | |
download | configfile-ce1f3be48858c53066722b180ce535cfafc4484e.tar.gz configfile-ce1f3be48858c53066722b180ce535cfafc4484e.tar.zst configfile-ce1f3be48858c53066722b180ce535cfafc4484e.zip |
bash_include: compile_all 可自訂編譯器、移除行尾空白 | vimrc: cscope 快速鍵vimrc-20130704bash_include-20130704
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -97,4 +97,18 @@ if g:plugins_enabled Bundle 'tkztmk/vim-vala' endif +if has("cscope") + set cst + set csverb + set cscopequickfix=s-,c-,d-,i-,t-,e- + 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("<cfile>")<CR><CR> + nmap <C-\>i :cs find i <C-R>=expand("<cfile>")<CR>$<CR> + nmap <C-\>d :cs find d <C-R>=expand("<cword>")<CR><CR> +endif + "set guifont=Liberation\ Mono\ for\ Powerline\ 11 |