init submodule
git submodule init ---
add a submodule
git submodule add --depth=1 https://github.com/manasthakur/foo.git nvim/pack/plugins/start/foo
git commit -m "add submodules foo"
remove a submodule
git submodule deinit nvim/pack/plugins/start/foo
git rm -r nvim/pack/plugins/start/foo
rm -rf .git/modules/nvim/pack/plugins/start/foo
update a submodule
cd nvim/pack/plugins/start/foo
git pull origin master
update all modules
# first pull
git submodule update --depth=1 --init
# update
git submodule update --depth=1 --remote
plugin | use | source |
---|---|---|
nvim-tree |
A File Explorer For Neovim Written In Lua |
|
gitsigns |
Super fast git decorations implemented purely in lua/teal. |
|
nvim-cmp |
completion engine for neovim written in Lua |
|
cmp-nvim-lsp |
nvim-cmp source for neovim’s built-in language server client |
|
nvim-lspconfig |
Configs for the Nvim LSP client |
|
vim-vsnip |
VSCode(LSP)'s snippet feature in vim/nvim. |
|
cmp-vsnip |
nvim-cmp source for vim-vsnip |
|
cmp-buffer |
nvim-cmp source for buffer words |
|
cmp-path |
nvim-cmp source for path |
|
nvim-treesitter |
|
|
fzf |
fzf |
|
fzf.vim |
fzf for vim |
|
vim-commentary |
Comment stuff out |
|
venn |
ascii diagram in vim |