1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-23 01:09:56 +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 function! SpaceVim#layers#tools#plugins() abort
return [ return [
\ ['tpope/vim-scriptease'], \ ['tpope/vim-scriptease'],
\ ['brookhong/cscope.vim'],
\ ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}], \ ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}],
\ ['wsdjeg/SourceCounter.vim', { 'on_cmd' : 'SourceCounter'}], \ ['wsdjeg/SourceCounter.vim', { 'on_cmd' : 'SourceCounter'}],
\ ['junegunn/goyo.vim', { 'on_cmd' : 'Goyo', \ ['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 " List of colors that you do not want. ANSI code or #RRGGBB
let g:rainbow#blacklist = [233, 234] let g:rainbow#blacklist = [233, 234]
nnoremap <Leader>fz :FZF<CR> nnoremap <Leader>fz :FZF<CR>
if maparg('<C-l>', 'v') == '' if maparg('<C-l>', 'v') ==# ''
vnoremap <silent> <C-l> <Esc>:Ydv<CR> vnoremap <silent> <C-l> <Esc>:Ydv<CR>
endif endif
if maparg('<C-l>', 'n') == '' if maparg('<C-l>', 'n') ==# ''
nnoremap <silent> <C-l> <Esc>:Ydc<CR> nnoremap <silent> <C-l> <Esc>:Ydc<CR>
endif endif
map <unique> <Leader>td <Plug>TaskList map <unique> <Leader>td <Plug>TaskList