From 33ee95006d919c97a2c0d6611564ba02328e5f45 Mon Sep 17 00:00:00 2001 From: Didier Date: Fri, 1 Sep 2023 03:34:08 +0200 Subject: [PATCH] feat: final-ish version --- crates/20-vim/crate.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 crates/20-vim/crate.sh 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