2018-08-31 21:36:58 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Vim is the standard text editor.
|
|
|
|
#
|
|
|
|
# https://wiki.archlinux.org/index.php/Vim
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2018-09-08 07:55:24 +02:00
|
|
|
sudo pacman -S vim
|
2018-08-31 21:36:58 +02:00
|
|
|
|
2018-09-08 07:55:24 +02:00
|
|
|
sudo pacman -S neovim
|
2018-08-31 21:36:58 +02:00
|
|
|
|
|
|
|
# Add the `undo` directory for regular vim
|
|
|
|
mkdir -p ~/.vim/undo
|
2018-09-08 07:55:24 +02:00
|
|
|
|
|
|
|
# Install all vim plugins with `vim-plug`. Note that your
|
|
|
|
# .vimrc should already have a section with the plugins that
|
|
|
|
# you want to install.
|
|
|
|
#
|
|
|
|
# https://github.com/junegunn/vim-plug
|
|
|
|
|
|
|
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
|
|
|
|
vim +PlugInstall +qall
|