aboutsummaryrefslogtreecommitdiff
path: root/scripts/commands/:cheat
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/commands/:cheat')
-rwxr-xr-xscripts/commands/:cheat5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/commands/:cheat b/scripts/commands/:cheat
new file mode 100755
index 0000000..850557f
--- /dev/null
+++ b/scripts/commands/:cheat
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+
+[[ ! -z "$1" ]] && file=$1 || file=Cheatsheets;
+
+sensible-terminal -e sensible-editor ~/.config/vimwiki/$file.md;