ajaxray / geek-life

The Todo List / Task Manager for Geeks in command line
MIT License
501 stars 26 forks source link

Browsing lists and panels using vim navigation keys #2

Closed ajaxray closed 4 years ago

ajaxray commented 4 years ago

Browsing lists and panels using vim navigation keys will be much natural for vim users.

Based on a feedback on Reddit

mwat56 commented 4 years ago

One could also wish for the old WordStar diamond to navigate. But … I think it would be a better option to allow to use an external editor (via INI-file or commandline option). That way everybody could use their preferred editing environment.

ajaxray commented 4 years ago

@mwat56 Thanks for your recommendation.

Implementing external editor is in progress. It will open Task Detail in whatever editor is set in $EDITOR env variable, vim by default. See #6

ajaxray commented 4 years ago

A little to initial plan - not gong to implement moving to right panel with l. Because right side content depends on selection of left panel. So moving towards the right side panel should be based on selecting item with Enter.

Here is the plan I am going to implement now.

+------+----------------------+-----------------------+
|  P   |         T            |         D             |
|      |                      |                       |
|    Entr=>    ↓   ↑        Entr=>                    |
|      |      tab TAB         |                       |
|   <=Esc/h    j   k       <=Esc/h                    |
|      |                      |                       |
+------+----------------------+-----------------------+

So, what it's trying to visualize is -