mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 02:10:06 +08:00
06e9fe97c0
suggested via #487
16 lines
696 B
VimL
16 lines
696 B
VimL
function! SpaceVim#layers#core#plugins() abort
|
|
return [
|
|
\ ['Shougo/vimproc.vim', {'build' : 'make'}],
|
|
\ ['benizi/vim-automkdir'],
|
|
\ ['airblade/vim-rooter'],
|
|
\ ]
|
|
endfunction
|
|
|
|
function! SpaceVim#layers#core#config() abort
|
|
let g:rooter_silent_chdir = 1
|
|
call SpaceVim#layers#load('core#banner')
|
|
call SpaceVim#mapping#space#def('nnoremap', ['p', 't'], 'Rooter', 'find-project-root', 1)
|
|
call SpaceVim#mapping#space#def('nnoremap', ['p', 'f'], 'CtrlP', 'find files in current project', 1)
|
|
call SpaceVim#mapping#space#def('nnoremap', ['p', '/'], 'Grepper', 'fuzzy search for text in current project', 1)
|
|
endfunction
|