dotfiles/crates/20-vim/crate.sh
2023-09-01 03:34:08 +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
}