antonmedv / walk

Terminal file manager
MIT License
3.22k stars 89 forks source link

Add Home, End, PageUp and PageDown navigation keybindings #53

Closed guy-av closed 1 year ago

guy-av commented 1 year ago

Add some more navigation options:

Home - Goes to start of list End - Goes to the end of list PageUp - Goes to top of current column PageDown - Goes to bottom of current column

The bindings mimic Shift+Left, Shift+Right, Shift+Up, Shift+Down.

Closes #45.

antonmedv commented 1 year ago

Home and End should go to start and end of list.

TheReptar commented 1 year ago

@guy-av @antonmedv
I've opened #56 which allows users to customize their key bindings for any existing action. Regarding this PR, it would eliminate the need for keyPageUp and keyPageDown and registering them with the .moveTop() and .moveBottom() functions, respectively.

guy-av commented 1 year ago

As @antonmedv points out:

Home and End should go to start and end of list.

This functionality is not supported currently and is added in this PR (The ability to travel to start or end of the list).

I agree that after #56 page up and down will no longer be required.