AnthonyDiGirolamo / todotxt-machine

an interactive terminal based todo.txt file editor with an interface similar to mutt
https://pypi.python.org/pypi/todotxt-machine/
GNU General Public License v3.0
244 stars 37 forks source link

Match filter and column with todo navigation #14

Closed matze closed 10 years ago

matze commented 10 years ago

It's pretty awkward to go from the home row to the cursor keys in order to manipulate the filter view. This change adds two tiny wrapper widgets that bind j and k to move select projects and contexts and H and L to switch between todo and filter list.

In general, it would make sense to make these things more customizable in the long run.

P.S.: According to the urwid docs, overriding the command map dict is not a hack and the way to go.

AnthonyDiGirolamo commented 10 years ago

I didn't know about the command map. This is probably a better way to go than what I've been doing to redefine new key behavior (like j and k). I will probably want to add the ability to redefine keys with the config file next.