aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/notes
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-26 19:56:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-26 19:56:43 +0530
commitd7ce06b10b4c90ff07120ff5ad8f2291971c94fd (patch)
tree5e8ab331e1fdd6725ca2c16619f9745a69387f47 /plugins/notes
parentce8e6a8791710f3327ffc2d1091c08903cb9a619 (diff)
downloadnnn-d7ce06b10b4c90ff07120ff5ad8f2291971c94fd.tar.gz
Add plugin to take quick notes
Diffstat (limited to 'plugins/notes')
-rwxr-xr-xplugins/notes15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/notes b/plugins/notes
new file mode 100755
index 0000000..02b9a0f
--- /dev/null
+++ b/plugins/notes
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+
+# Description: Open a quick notes file or directory in $EDITOR
+#
+# Details: Set the variable NOTE to the path to your quick notes file
+#
+# Shell: POSIX compliant
+# Author: Arun Prakash Jana
+
+NOTE=
+# NOTE=~/Dropbox/Notes/synced_note
+
+if [ ! -z "$NOTE" ]; then
+ $EDITOR "$NOTE"
+fi