blakesweeney / unite-taskwarrior

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

use taskwarrior column-format options as a model for displaying description/ annotation #46

Open linuxcaffe opened 9 years ago

linuxcaffe commented 9 years ago

How should annotations be displayed in a utw tasklist?

well taskwarrior its self has several option for displating descriptions, shown in the 'task columns' command;

description    string   combined*         Move your clothes down on to the lower peg
                                            09/06 15:37 Immediately before your lunch
                                            09/06 15:37 If you are playing in the match this
                                          afternoon
                                            09/06 15:37 Before you write your letter home
                                            09/06 15:37 If you're not getting your hair cut
                        desc              Move your clothes down on to the lower peg
                        oneline           Move your clothes down on to the lower peg 09/06 15:37
                                          Immediately before your lunch 09/06 15:37 If you are
                                          playing in the match this afternoon 09/06 15:37 Before
                                          you write your letter home 09/06 15:37 If you're not
                                          getting your hair cut
                        truncated         Move your clothes do...
                        count             Move your clothes down on to the lower peg [4]
                        truncated_count   Move your clothes do... [4]
(*=default)

and these ideas could (should?) be options for utw. I'm not sure how this would be implemented or controlled, but I do know these are well-thought out and familiar in concept, for taskwarrior users.

This is related to #44

linuxcaffe commented 9 years ago

vim-taskwarrior has the ability to cycle through available column formats, and it's mapped to "H" (to cycle left) and "L" (to cycle to the right, ironically), The "right and left" are arbitrary directions through the available options,

This code might be helpful, and something like this behavior; "format cycling" through available description(+annotation) column formats, would be ideal

blakesweeney commented 9 years ago

Changing the annotation thing seems pretty possible. Right now there are some more pressing issues so this isn't high priority.

linuxcaffe commented 9 years ago

agreed, just suggesting 2 models 1) tw column formats, and 2) tim-tw's format cycling. I titally agree that this isn't pressing.

idea: set up some labels, v1.0 and v1.2 and backlog and wiki, and many of my mad ideas can be properly backburnered ;-)

blakesweeney commented 9 years ago

Yeah, I need to go through and organize all the issues.

linuxcaffe commented 9 years ago

err... yeah, sorry about the idea-storm! I think the worst of it has passed :)

blakesweeney commented 9 years ago

This may not be too hard. I'm marking as 1.1, but may get to it for 1.0.

linuxcaffe commented 9 years ago

jah, cool!