1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:00:05 +08:00

Add cscope helper plugin.

ref: https://github.com/brookhong/cscope.vim/issues/26
This commit is contained in:
wsdjeg 2017-03-28 21:10:07 +08:00
parent b859a71678
commit 258d4be958

View File

@ -1,6 +1,7 @@
function! SpaceVim#layers#tools#plugins() abort
return [
\ ['tpope/vim-scriptease'],
\ ['brookhong/cscope.vim'],
\ ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}],
\ ['wsdjeg/SourceCounter.vim', { 'on_cmd' : 'SourceCounter'}],
\ ['junegunn/goyo.vim', { 'on_cmd' : 'Goyo',
@ -60,10 +61,10 @@ function! SpaceVim#layers#tools#config() abort
" List of colors that you do not want. ANSI code or #RRGGBB
let g:rainbow#blacklist = [233, 234]
nnoremap <Leader>fz :FZF<CR>
if maparg('<C-l>', 'v') == ''
if maparg('<C-l>', 'v') ==# ''
vnoremap <silent> <C-l> <Esc>:Ydv<CR>
endif
if maparg('<C-l>', 'n') == ''
if maparg('<C-l>', 'n') ==# ''
nnoremap <silent> <C-l> <Esc>:Ydc<CR>
endif
map <unique> <Leader>td <Plug>TaskList