diff --git a/crates/20-vim/crate.sh b/crates/20-vim/crate.sh new file mode 100644 index 0000000..3210eac --- /dev/null +++ b/crates/20-vim/crate.sh @@ -0,0 +1,14 @@ +#!/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 +} \ No newline at end of file