Compare commits

..

2 Commits

Author SHA1 Message Date
b499cd5223 docs: simplify installation to one command 2026-04-16 10:23:36 +03:00
a355dcd4b6 feat: add install.sh for automated setup 2026-04-16 10:22:18 +03:00
2 changed files with 20 additions and 6 deletions

View File

@@ -1,11 +1,7 @@
# Mike Bell's VIM settings
Installation:
```sh
git clone https://git.movida.biz/bell/dotvim.git ~/.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
```
Create symlinks:
```sh
ln -s ~/.vim/vimrc ~/.vimrc
git clone https://git.movida.biz/bell/dotvim.git ~/.vim && ~/.vim/install.sh
```

18
install.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
# Symlink vimrc
if [ ! -f ~/.vimrc ]; then
ln -s ~/.vim/vimrc ~/.vimrc
echo "Created ~/.vimrc symlink"
fi
# Install Vundle
if [ ! -d ~/.vim/bundle/Vundle.vim ]; then
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
echo "Vundle installed"
fi
# Install all plugins headlessly
vim +PluginInstall +qall
echo "Done"