From 38fa83353c26eebd9b0181f61f934281fbd6e0e8 Mon Sep 17 00:00:00 2001 From: guobin2312 Date: Mon, 7 Mar 2016 11:16:10 -0500 Subject: [PATCH] Added find in new tabpage support with two Ctrl-\. --- plugin/cscope_maps.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugin/cscope_maps.vim b/plugin/cscope_maps.vim index c577b45..7254620 100644 --- a/plugin/cscope_maps.vim +++ b/plugin/cscope_maps.vim @@ -97,6 +97,17 @@ if has("cscope") nmap i :cs find i ^=expand("")$ nmap d :cs find d =expand("") + " Hitting 'CTRL-\' *twice* before the search type opens a new tab + " instead of using one + + nmap s :tab scs find s =expand("") + nmap g :tab scs find g =expand("") + nmap c :tab scs find c =expand("") + nmap t :tab scs find t =expand("") + nmap e :tab scs find e =expand("") + nmap f :tab scs find f =expand("") + nmap i :tab scs find i ^=expand("")$ + nmap d :tab scs find d =expand("") " Using 'CTRL-spacebar' (intepreted as CTRL-@ by vim) then a search type " makes the vim window split horizontally, with search result displayed in