Update vim-setup.sh
Added directory structure and initialized VIM plugin manager
This commit is contained in:
16
vim-setup.sh
16
vim-setup.sh
@@ -1,3 +1,17 @@
|
||||
mkdir -p ~/.vim/pack/themes/opt/
|
||||
mkdir -p ~/.vim/pack/plugins/start
|
||||
|
||||
|
||||
# vim-plug setup
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
cat >> ~/.bashrc<< EOF
|
||||
call plug#begin()
|
||||
call plug#end()
|
||||
EOF
|
||||
|
||||
|
||||
git clone ssh://git@git.home.recchia.dev/matt/vim-solarized8.git
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Cloned vim solarized theme from local mirror"
|
||||
@@ -17,7 +31,5 @@ EOF
|
||||
|
||||
cd ~/.vim/pack
|
||||
git init
|
||||
git submodule add https://github.com/fatih/vim-go.git ~/.vim/pack/plugins/start/vim-go
|
||||
git submodule add https://github.com/scrooloose/nerdtree plugins/start/nerdtree
|
||||
git submodule add https://github.com/Xuyuanp/nerdtree-git-plugin plugins/start/nerdtree-git-plugin
|
||||
git submodule add https://github.com/gergap/vim-ollama plugins/start/vim-ollama
|
||||
|
||||
Reference in New Issue
Block a user