Skip to content

Commit

Permalink
Add cscopes plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoleary committed Aug 18, 2019
1 parent 93d5db4 commit 5df2b73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -115,3 +116,7 @@ inoremap <expr><C-l> 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 <leader>fg :call cscope#find('g', expand('<cword>'))<CR>

0 comments on commit 5df2b73

Please sign in to comment.