nix-config/sh/055-vim
Donovan Glover 0f7f51e81c
Update scripts
This commit adds sudo where needed for the majority of pacman commands.
It also removes zsh, urxvt, and renpy since we don't use those anymore.
2018-09-08 02:00:25 -04:00

26 lines
541 B
Bash

#!/bin/sh
#
# Vim is the standard text editor.
#
# https://wiki.archlinux.org/index.php/Vim
set -xe
sudo pacman -S vim
sudo pacman -S neovim
# Add the `undo` directory for regular vim
mkdir -p ~/.vim/undo
# 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