dotfiles/crates/20-vim/crate.sh

14 lines
281 B
Bash
Raw Normal View History

2023-10-14 22:38:12 +02:00
#!/bin/sh
describe="Install vim and it's stuff"
scripts="@distro @self"
apply() {
2023-11-19 15:42:05 +01:00
[ -e "$HOME/.nvimrc" ] || ln files/.nvimrc $HOME/.nvimrc
2023-10-14 22:38:12 +02:00
[ -e "$HOME/.ideavimrc" ] || ln files/.ideavimrc $HOME/.ideavimrc
}
undo() {
2023-11-19 15:42:05 +01:00
unlink $HOME/.nvimrc
2023-10-14 22:38:12 +02:00
unlink $HOME/.ideavimrc
}