fix: the one true vim

This commit is contained in:
Strix 2023-11-19 15:47:41 +01:00
parent 7e009a8b50
commit 058e23302b
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
5 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
super_apply() {
pacman -S --needed --noconfirm vim
pacman -S --needed --noconfirm neovim
}
super_undo() {

View file

@ -1,5 +1,5 @@
super_apply() {
apt install -y vim
apt install -y neovim
}
super_undo() {

View file

@ -4,11 +4,12 @@ describe="Install vim and it's stuff"
scripts="@distro @self"
apply() {
[ -e "$HOME/.nvimrc" ] || ln files/.nvimrc $HOME/.nvimrc
[ -d "$HOME/.config/nvim" ] || mkdir -p "$HOME/.config/nvim"
[ -e "$HOME/.config/nvim/init.vim" ] || ln files/init.vim $HOME/.config/nvim/init.vim
[ -e "$HOME/.ideavimrc" ] || ln files/.ideavimrc $HOME/.ideavimrc
}
undo() {
unlink $HOME/.nvimrc
unlink $HOME/.config/nvim/init.vim
unlink $HOME/.ideavimrc
}

View file

@ -1,5 +1,5 @@
super_apply() {
xbps-install -y vim
xbps-install -y neovim
}
super_undo() {