summaryrefslogtreecommitdiff
path: root/mac/.config/taskopen
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/taskopen
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/taskopen')
-rw-r--r--mac/.config/taskopen/taskopenrc30
1 files changed, 30 insertions, 0 deletions
diff --git a/mac/.config/taskopen/taskopenrc b/mac/.config/taskopen/taskopenrc
new file mode 100644
index 0000000..761f764
--- /dev/null
+++ b/mac/.config/taskopen/taskopenrc
@@ -0,0 +1,30 @@
+[General]
+taskbin=task
+taskargs
+no_annotation_hook="addnote $ID"
+task_attributes="priority,project,tags,description"
+--sort:"urgency-,annot"
+--active-tasks:"+PENDING"
+EDITOR=nvim
+path_ext=/usr/share/taskopen/scripts
+[Actions]
+nvimline.target=annotations
+nvimline.labelregex=".*"
+nvimline.regex="^nvimline:(\\d+):(.*)"
+nvimline.command="$HOME/.local/bin/task/taskopen-line $FILE $TASK_DESCRIPTION"
+nvimline.modes="batch,any,normal"
+files.target=annotations
+files.labelregex=".*"
+files.regex="^[\\.\\/~]+.*\\.(.*)"
+files.command="$EDITOR $FILE"
+files.modes="batch,any,normal"
+notes.target=annotations
+notes.labelregex=".*"
+notes.regex="^Notes(\\..*)?"
+notes.command="""editnote ~/Notes/tasknotes/$UUID$LAST_MATCH "$TASK_DESCRIPTION" $UUID"""
+notes.modes="batch,any,normal"
+url.target=annotations
+url.labelregex=".*"
+url.regex="((?:www|http).*)"
+url.command="open $LAST_MATCH"
+url.modes="batch,any,normal"