diff options
Diffstat (limited to 'mac/.config/taskopen/taskopenrc')
| -rw-r--r-- | mac/.config/taskopen/taskopenrc | 30 |
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" |
