Skip to content

How to disable keybinding? #629

Closed Locked Answered by sxyazi
azzamsa asked this question in 1. Q&A
Feb 5, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

You can bind any commands that do not exist to them, and Yazi will silently ignore them, like:

prepend_keymap = [
    { on = ["<S-Up>"], exec = "whatever", desc = "Move cursor up 5 lines" },
    { on = ["<S-Down>"], exec = "youwant", desc = "Move cursor down 5 lines" },
]

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@azzamsa
Comment options

@sxyazi
Comment options

@sxyazi
Comment options

@azzamsa
Comment options

@sxyazi
Comment options

Answer selected by azzamsa
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
2 participants