Compare commits
2 Commits
a99ac4ac27
...
b499cd5223
| Author | SHA1 | Date | |
|---|---|---|---|
| b499cd5223 | |||
| a355dcd4b6 |
@@ -1,11 +1,7 @@
|
|||||||
# Mike Bell's VIM settings
|
# Mike Bell's VIM settings
|
||||||
|
|
||||||
Installation:
|
Installation:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://git.movida.biz/bell/dotvim.git ~/.vim
|
git clone https://git.movida.biz/bell/dotvim.git ~/.vim && ~/.vim/install.sh
|
||||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
|
||||||
```
|
|
||||||
Create symlinks:
|
|
||||||
```sh
|
|
||||||
ln -s ~/.vim/vimrc ~/.vimrc
|
|
||||||
```
|
```
|
||||||
|
|||||||
18
install.sh
Executable file
18
install.sh
Executable 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"
|
||||||
Reference in New Issue
Block a user