Skip to content

Use more navigation keys #43

Closed
Closed

Description

@data-man

Is your feature request related to a problem?
Use Home, End, PgUp and PgDn keys in diff and log panes.

Describe the solution you'd like
Scroll to top, bottom and by screen's height.

Describe alternatives you've considered
E.g. like tig.

Activity

  1. added
    enhancement
    on May 7, 2020
  2. extrawurst commented on May 7, 2020

    @extrawurst
    Collaborator

    Hi @data-man thanks for your interest in the project! Thats indeed a great idea. Haven't thought of it since I am on a small laptop keyboard ;D

  3. bobismijnnaam commented on May 10, 2020

    @bobismijnnaam

    This issue seems relevant to my request, so I will post it here instead of making a new issue if that is okay.

    Any plans to support h, j, k, l for navigation? Some sites (i.e. duckduckgo) also support this natively, and as a vim user support would be nice. (I do not think any other vim bindings should be added, as that's way too opinionated. But basic hjkl support would be nice).

    In any case, thanks for making gitui. Been using it for a bit and it works nice and fast!

  4. extrawurst commented on May 10, 2020

    @extrawurst
    Collaborator

    Any plans to support h, j, k, l for navigation? Some sites (i.e. duckduckgo) also support this natively, and as a vim user support would be nice. (I do not think any other vim bindings should be added, as that's way too opinionated. But basic hjkl support would be nice).

    I am really not a fan of duplicating functionality 🤔- My main concern is simplicity - I need to think about this.

    In any case, thanks for making gitui. Been using it for a bit and it works nice and fast!

    Thank you so much❤️

  5. data-man commented on May 10, 2020

    @data-man
    Author

    @extrawurst

    support home/end to jump up/down

    Thank you for getting started!
    I tested this commit, but the Home and End aren't working.

  6. extrawurst commented on May 10, 2020

    @extrawurst
    Collaborator

    I tested this commit, but the Home and End aren't working.

    Thanks so much for even trying a build from code!😍
    Hooked up my external keyboard now and fixed It 🙈
    see 5fc8d72

    home/end were easy, the remaining ones (pages/down) will take little longer, since I need to rework some code to allow this. (currently the rendering is IMGUI style and stateless, so I dont know how high the screen area is outside the rendering code. I will figure this out since I could use it for a couple of other things too!

  7. extrawurst commented on May 12, 2020

    @extrawurst
    Collaborator

    @data-man if you want to try the page up/down should now work in the commit log 😊

  8. data-man commented on May 12, 2020

    @data-man
    Author

    @extrawurst Great! Thank you!

    Also would be nice to add mouse wheel support in the future.

  9. extrawurst commented on May 12, 2020

    @extrawurst
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions