基础插件管理
This commit is contained in:
@ -2,4 +2,4 @@ vim9script
|
||||
|
||||
TuiLayer base
|
||||
|
||||
# TuiLayer plug
|
||||
TuiLayer plug
|
||||
|
4
layers/plug/colorscheme.vim
Normal file
4
layers/plug/colorscheme.vim
Normal file
@ -0,0 +1,4 @@
|
||||
vim9script
|
||||
|
||||
tui#core#plug#Regist('flazz/vim-colorschemes')
|
||||
|
6
layers/plug/init.vim
Normal file
6
layers/plug/init.vim
Normal file
@ -0,0 +1,6 @@
|
||||
vim9script
|
||||
|
||||
TuiLayer plug.colorscheme
|
||||
|
||||
TuiLayer plug.nerdtree
|
||||
|
13
layers/plug/nerdtree.vim
Normal file
13
layers/plug/nerdtree.vim
Normal file
@ -0,0 +1,13 @@
|
||||
vim9script
|
||||
|
||||
tui#core#plug#Regist('preservim/nerdtree', {
|
||||
deps: [
|
||||
'ryanoasis/vim-devicons',
|
||||
'tiagofumo/vim-nerdtree-syntax-highlight',
|
||||
],
|
||||
config: () => {
|
||||
final g:NERDTreeFileLines = 1
|
||||
nnoremap <SPACE>vf :NERDTreeToggle<CR>
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user