Skip to content

Trying to jump multiple items at a time. #1363

Answered by joelim-work
Archie-2021 asked this question in Q&A
Discussion options

You must be logged in to vote

$ commands are synchronous, which means it suspends the UI and shows the shell command execution until it finishes. If you don't want that then you can use % or &, which runs the shell command asynchronously in background (% reads from and writes to the bottom statline).

That being said, you probably don't need to use lf -remote here - you can just use push to simulate key presses, which is probably a lot cleaner.

map J push 6j
map K push 6k

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Archie-2021
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants