blakesweeney / unite-taskwarrior

A unite.vim interface to taskwarrior
6 stars 2 forks source link

vimrc configs not being recognized #8

Closed linuxcaffe closed 9 years ago

linuxcaffe commented 9 years ago

It might well be my bad syntax. My Unite taskwarrior related configs are:

command! Tw :Unite taskwarrior
let g:unite_taskwarrior_filter = 'status.not:delete and status.not:completed' 
call unite#custom#source('taskwarrior', 'matchers', 'matcher_fuzzy')    
call unite#custom#source('taskwarrior', 'sorters', 'sorter_rank') 
nnoremap  Tw :Unite taskwarrior -winheight=50
nnoremap Twa :UniteTaskWarriorAdd 
vnoremap  Twa :B UniteTaskWarriorAdd
let g:unite_task_note_directory = '~/.task/notes'  
let g:unite_task_note_suffix = 'tasknote.wiki' 

but on creating a note, it is still using "mkd" as suffix, and putting the note in "note" not "notes".

blakesweeney commented 9 years ago

So the issue with this is that the docs are wrong. If you use g:unite_taskwarrior_note_suffix and g:unite_taskwarrior_note_directory it should work correctly.

linuxcaffe commented 9 years ago

this now works great! thanks!