From 5df2b73676f8a41b91a39ad04ac265991aad0f71 Mon Sep 17 00:00:00 2001 From: Ryan O'Leary Date: Sun, 18 Aug 2019 16:57:08 -0700 Subject: [PATCH] Add cscopes plugin --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index ac9ed4a..958c3b1 100644 --- a/.vimrc +++ b/.vimrc @@ -93,6 +93,7 @@ Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'junegunn/vim-easy-align' Plug 'ConradIrwin/vim-bracketed-paste' Plug 'mkitt/tabline.vim' +Plug 'chazy/cscope_maps' call plug#end() " Start interactive EasyAlign in visual mode (e.g. vipga) @@ -115,3 +116,7 @@ inoremap neocomplete#complete_common_string() " https://superuser.com/questions/299419/prevent-vim-from-clearing-the-clipboard-on-exit "autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") + +"""""""""""""""""""" CSCOPE PLUGIN """""""""""""""""""" +" Find this definition +nnoremap fg :call cscope#find('g', expand(''))