dotfiles/crates/20-vim/crate.sh

14 lines
277 B
Bash
Raw Normal View History

2023-09-01 03:34:08 +02:00
#!/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
}