summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvw7
1 files changed, 7 insertions, 0 deletions
diff --git a/vw b/vw
new file mode 100755
index 0000000..db0a579
--- /dev/null
+++ b/vw
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$EDITOR" in
+ "nvim") nvim +VimwikiIndex ;;
+ "vim") vim +VimwikiIndex ;;
+ *) $EDITOR ~/.local/share/vimwiki/index.wiki ;;
+esac