restructure submodules

This commit is contained in:
wunewww 2024-05-02 14:51:13 +08:00
parent f112bf0881
commit 24bc66b818
4 changed files with 14 additions and 4 deletions

8
.gitmodules vendored
View File

@ -1,6 +1,12 @@
[submodule "pack/vendor/opt/nerdtree"]
[submodule "pack/plugin/opt/nerdtree"]
path = pack/vendor/opt/nerdtree
url = https://github.com/preservim/nerdtree.git
[submodule "pack/plugin/opt/vim-easymotion"]
path = pack/plugin/opt/vim-easymotion
url = https://github.com/easymotion/vim-easymotion.git
[submodule "pack/plugin/start/vim-fugitive"]
path = pack/plugin/opt/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git
[submodule "pack/plugin/opt/ale"]
path = pack/plugin/opt/ale
url = https://github.com/dense-analysis/ale.git

1
pack/plugin/opt/ale Submodule

@ -0,0 +1 @@
Subproject commit 70eeae54fbd5c2e254604d543674f02d42c0ccdd

@ -1 +0,0 @@
Subproject commit f3a4d8eaa8ac10305e3d53851c976756ea9dc8e8

8
vimrc
View File

@ -61,9 +61,13 @@ let g:EasyMotion_startofline = 0 " keep cursor column when JK motion
let g:Easymotion_smartcase = 1
" Easymotion }}}
" ale
" packadd! ale
" ale
" NerdTree {{{
packadd! nerdtree
nnoremap <leader>n :NERDTreeToggle<CR>
nnoremap <leader>n :NERDTreeFocus<CR>
" }}}
filetype plugin indent on " Load plugins according to detected filetype.
@ -134,4 +138,4 @@ endif
set updatetime =300
set signcolumn =yes
set foldmethod =marker
set foldmethod =manual