dotfiles/crates/20-vim/crate.sh
2023-10-14 22:38:12 +02:00

14 lines
No EOL
277 B
Bash

#!/bin/sh
describe="Install vim and it's stuff"
scripts="@distro @self"
apply() {
[ -e "$HOME/.vimrc" ] || ln files/.vimrc $HOME/.vimrc
[ -e "$HOME/.ideavimrc" ] || ln files/.ideavimrc $HOME/.ideavimrc
}
undo() {
unlink $HOME/.vimrc
unlink $HOME/.ideavimrc
}