mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
Add cscope helper plugin.
ref: https://github.com/brookhong/cscope.vim/issues/26
This commit is contained in:
parent
b859a71678
commit
258d4be958
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user