As mentioned at http://lifehacker.com/166299/geek-to-live--list-your-life-in-txt, it's useful to have multiple todo.txt style lists, for example, a shopping.txt. Obviously it doesn't make sense to match all .txt files, but it would be great if this plugin matched .todo.txt.
Of course, I can do that manually, with
au BufNewFile,BufReadPost *.todo.txt set filetype=todo
but <leader>D doesn't work then, it just adds the done things to done.txt. Would it be possible for <leader>D to match the filename, and move done items to, for example, shopping.done.txt?
As mentioned at http://lifehacker.com/166299/geek-to-live--list-your-life-in-txt, it's useful to have multiple todo.txt style lists, for example, a shopping.txt. Obviously it doesn't make sense to match all .txt files, but it would be great if this plugin matched .todo.txt.
Of course, I can do that manually, with
but
<leader>D
doesn't work then, it just adds the done things todone.txt
. Would it be possible for<leader>D
to match the filename, and move done items to, for example,shopping.done.txt
?