diff options
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 35 | 
1 files changed, 0 insertions, 35 deletions
diff --git a/install.sh b/install.sh deleted file mode 100644 index cfdf3bd..0000000 --- a/install.sh +++ /dev/null  | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | # Welcome to Vimax! | ||
| 2 | # | ||
| 3 | # This script allows a local installation to some random path and starts | ||
| 4 | # the vim-EDITOR after installation is finished. That way the configuration | ||
| 5 | # can easily be tested. | ||
| 6 | # | ||
| 7 | # You have just executed this script | ||
| 8 | |||
| 9 | if [[ ! $EDITOR =~ ^n?g?vim?$ ]]; then | ||
| 10 | echo Your EDITOR environment variable is set to \"$EDITOR\" | ||
| 11 | echo This script requires it to be some kind of vim or nvim, gvim, vi, ... | ||
| 12 | echo | ||
| 13 | echo Please run this script with EDITOR=vim sh install.sh | ||
| 14 | echo Which will set the EDITOR just temporary for running this script. | ||
| 15 | exit | ||
| 16 | fi | ||
| 17 | |||
| 18 | cd $(dirname "$0") | ||
| 19 | |||
| 20 | echo "working in $(pwd)" | ||
| 21 | |||
| 22 | mkdir -p autoload | ||
| 23 | ln -i -s -b vimrc-full vimrc | ||
| 24 | |||
| 25 | $EDITOR -u NORC -N \ | ||
| 26 | +runtime plugin/netrwPlugin.vim \ | ||
| 27 | +'new +saveas!\ autoload/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' \ | ||
| 28 | +'new +saveas!\ vimrc-full http://git.entwicklerseite.de/vim/plain/vimrc-full' \ | ||
| 29 | +qall | ||
| 30 | |||
| 31 | $EDITOR -u vimrc-full -N \ | ||
| 32 | +'PlugInstall --sync' \ | ||
| 33 | +qall | ||
| 34 | |||
| 35 | $EDITOR -u vimrc-full -N $0 | ||
