From ce1f3be48858c53066722b180ce535cfafc4484e Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Thu, 4 Jul 2013 22:23:22 +0800 Subject: bash_include: compile_all 可自訂編譯器、移除行尾空白 | vimrc: cscope 快速鍵 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index e3219a0..83357bf 100644 --- a/vimrc +++ b/vimrc @@ -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 s :cs find s =expand("") + nmap g :cs find g =expand("") + nmap c :cs find c =expand("") + nmap t :cs find t =expand("") + nmap e :cs find e =expand("") + nmap f :cs find f =expand("") + nmap i :cs find i =expand("")$ + nmap d :cs find d =expand("") +endif + "set guifont=Liberation\ Mono\ for\ Powerline\ 11 -- cgit