forked from Piotr1215/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.taskopenrc
30 lines (30 loc) · 939 Bytes
/
.taskopenrc
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
[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/decoder/.config/taskwarrior-tui/shortcut-scripts/taksopen_line.sh $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"