Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsing lists and panels using vim navigation keys #2

Closed
ajaxray opened this issue Jun 14, 2020 · 3 comments
Closed

Browsing lists and panels using vim navigation keys #2

ajaxray opened this issue Jun 14, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ajaxray
Copy link
Owner

ajaxray commented Jun 14, 2020

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

  • Navigating lists with j and k
  • Moving to panel (projects, tasks, task-detail) with h and l

Based on a feedback on Reddit

@ajaxray ajaxray added enhancement New feature or request good first issue Good for newcomers labels Jun 14, 2020
@ajaxray ajaxray added this to the Release v0.1.0 milestone Jun 14, 2020
@mwat56
Copy link

mwat56 commented Jun 22, 2020

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
Copy link
Owner Author

ajaxray commented Jun 24, 2020

@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 ajaxray mentioned this issue Jun 24, 2020
@ajaxray
Copy link
Owner Author

ajaxray commented Jun 26, 2020

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 -

  • Selecting an item with Enter will move you to right panel. That means -
    • Selecting a Project will load it's tasks and move to Tasks panel
    • Selecting a Task will load task detail and move to Detail panel
  • Use Esc or h (like vim) to move to left panel. Details to Tasks to Projects.
  • To navigate a list (Project list or Task list),
    • Use or j or Tab to go down
    • Use or k or Shift+Tab to go up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants