Skip to content

Keyboard shortcut for scrolling text file or pdf #2303

Closed Answered by sxyazi
bjce asked this question in 1. Q&A
Discussion options

You must be logged in to vote

if it was possible to scroll up and down with a keyboard shortcut. If yes, 1 what is the default shortcut? and 2. how can I edit it in the config files?

It's possible, the default keybindings are K and J:

# Seeking
{ on = "K", run = "seek -5", desc = "Seek up 5 units in the preview" },
{ on = "J", run = "seek 5", desc = "Seek down 5 units in the preview" },

You can change it to what you want in your keymap.toml

Doc of keymap.toml: https://yazi-rs.github.io/docs/configuration/keymap

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bjce
Comment options

Answer selected by bjce

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
3 participants