Skip to content

Segregate key bindings per operation mode #10083

Closed Answered by faho
volodymyrprokopyuk asked this question in Q&A
Discussion options

You must be logged in to vote

You want commandline --paging-mode, like

bind \em 'if commandline --paging-mode; commandline -f down-line; else; ...; end'

You can also make this a function and bind that, see e.g. down-or-search.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by volodymyrprokopyuk
Comment options

You must be logged in to vote
2 replies
@faho
Comment options

@volodymyrprokopyuk
Comment options

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