-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtaskopenrc
More file actions
38 lines (38 loc) · 1.11 KB
/
taskopenrc
File metadata and controls
38 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[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]
files.target=annotations
files.labelregex=".*"
files.regex="^[\\.\\/~]+.*\\.(.*)^/$"
#files.regex="^[\\.\\/~]+.*\\.(.*)"
#files.command="xdg-open $FILE"
files.command="xdg-open-cli $FILE"
#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="xdg-open $LAST_MATCH"
url.modes="batch,any,normal"
# edit action: open markdown file
mdedit.regex = "^[\\.\\/~]+.*\\.(md|pandoc|mdwn|markdown)"
mdedit.command = "$EDITOR $FILE"
#use cdt to change to a PATH
dirs.target=annotations
dirs.regex="^/(.*)?/"
dirs.command="cdt $ID"
#dirs.command="wl-copy -n cd $FILE"
dirs.filtercommand = "test -d $FILE"
dirs.modes="batch,any,normal"