diff options
-rw-r--r-- | taskopenrc | 25 | ||||
-rw-r--r-- | taskrc | 5 | ||||
-rw-r--r-- | vim/vimrc | 4 |
3 files changed, 30 insertions, 4 deletions
diff --git a/taskopenrc b/taskopenrc new file mode 100644 index 0000000..db442c8 --- /dev/null +++ b/taskopenrc @@ -0,0 +1,25 @@ +[General] +taskbin=task +taskargs +no_annotation_hook="addnote $ID" +task_attributes="priority,project,tags,description" +--sort:"urgency-,annot" +--active-tasks:"+PENDING" +EDITOR=vim +path_ext=/usr/share/taskopen/scripts +[Actions] +files.target=annotations +files.labelregex=".*" +files.regex="^[\\.\\/~]+.*\\.(.*)" +files.command="xdg-open $FILE" +files.modes="batch,any,normal" +notes.target=annotations +notes.labelregex=".*" +notes.regex="^Notes(\\..*)?" +notes.command="""editnote ~/Documents/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" @@ -74,7 +74,7 @@ color=on #color.active=black on rgb510 #color.tag.waiting=green #color.tag.next=cyan -#color.project.Inbox=black on cyan +color.project.Inbox=black on cyan #color.project.w.admin=gray10 #color.project.w.training=gray10 #color.project.h.admin=gray12 @@ -137,11 +137,12 @@ urgency.user.tag.killlist.coefficient=-5.1 #urgency.annotations.coefficient=0.5 urgency.tags.coefficient=0 #urgency.blocking.coefficient=+2.0 -#urgency.due.coefficient=1.1 +urgency.due.coefficient=1.0 #urgency.project.coefficient=1 #urgency.age.coefficient=1 #urgency.due.coefficient=6.0 +urgency.scheduled.coefficient=8.0 #urgency.project.coefficnent=1.0 # Colours @@ -364,10 +364,10 @@ augroup END " Golang {{{ augroup golang autocmd! - autocmd FileType go + au BufReadPre,BufReadPost *.go \ set tabstop=8 | \ set softtabstop=8 | - \ set shiftwidth=8 + \ set shiftwidth=8 | augroup END " }}} " GitFZF {{{ |