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

New commands for moving cursor on screen #148

Merged
merged 3 commits into from
Sep 1, 2020
Merged

New commands for moving cursor on screen #148

merged 3 commits into from
Sep 1, 2020

Conversation

bptato
Copy link
Contributor

@bptato bptato commented Aug 31, 2020

The new commands CURSOR_TOP, CURSOR_MIDDLE and CURSOR_BOTTOM replicate vi's movements invoked by H, M and L. That is, CURSOR_TOP moves the cursor to the first currently visible line of the file, CURSOR_MIDDLE to the middle, and CURSOR_BOTTOM to the last visible line.

Since H, M and L are already bound to commands in w3m, I did not bind CURSOR_* to any keys by default, so they need to be added to ~/.w3m/keymap like MOVE_RIGHT1 etc.

Also, I'm not sure how successful my efforts in trying to add the new commands to the documentation were. I added them to a bunch of places and the help menu shows them so I think it worked? Either way, I don't speak Japanese, so that part of it is certainly missing. And MANUAL.html only seems to contain commands with default keybindings, so I didn't add them there either.

@tats tats merged commit 2fb3ed9 into tats:master Sep 1, 2020
@tats
Copy link
Owner

tats commented Sep 1, 2020

Merged, and updated doc-jp/README.func. Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants