fix: the one true vim
This commit is contained in:
parent
7e009a8b50
commit
058e23302b
5 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
super_apply() {
|
||||
pacman -S --needed --noconfirm vim
|
||||
pacman -S --needed --noconfirm neovim
|
||||
}
|
||||
|
||||
super_undo() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
super_apply() {
|
||||
apt install -y vim
|
||||
apt install -y neovim
|
||||
}
|
||||
|
||||
super_undo() {
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
super_apply() {
|
||||
xbps-install -y vim
|
||||
xbps-install -y neovim
|
||||
}
|
||||
|
||||
super_undo() {
|
||||
|
|
Loading…
Reference in a new issue