From 3b4328efa75da6e2bf6f286a64e5c22475e42d11 Mon Sep 17 00:00:00 2001 From: qhuang Date: Tue, 30 Jul 2013 14:26:49 +0800 Subject: [PATCH] cscope map & nerdcommenter --- my_configs.vim | 22 +++++++++++----------- sources_non_forked/nerdcommenter | 1 + vimrcs/basic.vim | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) create mode 160000 sources_non_forked/nerdcommenter diff --git a/my_configs.vim b/my_configs.vim index 060305a4..bb4ede0e 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -39,18 +39,18 @@ if has("cscope") set csverb endif -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("") +nmap css :cs find s =expand("") +nmap csg :cs find g =expand("") +nmap csc :cs find c =expand("") +nmap cst :cs find t =expand("") +nmap cse :cs find e =expand("") +nmap csf :cs find f =expand("") +nmap csi :cs find i ^=expand("")$ +nmap csd :cs find d =expand("") -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 diff --git a/sources_non_forked/nerdcommenter b/sources_non_forked/nerdcommenter new file mode 160000 index 00000000..0b3d928d --- /dev/null +++ b/sources_non_forked/nerdcommenter @@ -0,0 +1 @@ +Subproject commit 0b3d928dce8262dedfc2f83b9aeb59a94e4f0ae4 diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 2e31754d..7a0ceba4 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -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