Builditluc / wiki-tui

A simple and easy to use Wikipedia Text User Interface
https://wiki-tui.net/
MIT License
405 stars 14 forks source link

Vim movements (ctrl+d, ctrl+u, gg, G) #180

Closed Enoumy closed 1 year ago

Enoumy commented 1 year ago

This pull request is meant to address some, but not all of the vim movements requested in #161 .

This pull request adds the following vim movements:

Testing

What is the testing story? I manually built the project and ran it and things seemed to work. Are there any tests I should also update?

Documentation

Documented keybindings. Did not pick config names as I am unsure whether these should be configured? Should they given that they are vim-specific?

Thanks! Enoumy

(This section below gets added to the changelog and the release)

Release Notes

The Vim keybindings ctrl+d, ctrl+u, gg, and G have been implemented!

Builditluc commented 1 year ago

@all-contributors please add @Enoumy for coding

allcontributors[bot] commented 1 year ago

@Builditluc

I've put up a pull request to add @Enoumy! :tada:

pewf commented 1 year ago

u should add j to scroll down and k to scroll up

edit: and to change the selection of searches as well Screenshot 2023-05-30 at 4 08 18 PM

Builditluc commented 1 year ago

Hey @LowSpecGamerROBLOX, this is already possible (see here). Since you aren't the first to ask this, I think it would be best to set the default keybindings to vim (edit: done)