mini pick - move
#1600
-
Contributing guidelines
Module(s)mini.pick QuestionIssue DescriptionI want to use What I’ve Tried
Expected Behavior
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Answered by
krovuxdev
Feb 23, 2025
Replies: 1 comment 2 replies
-
|
@jasonxue1
Similarly, to scroll the preview window, you can use:
If you want to remap require("mini.pick").setup({
mappings = {
-- Move selection up and down
move_down = '<C-j>',
move_up = '<C-k>',
-- Scroll in the preview window
scroll_down = '<C-f>',
scroll_up = '<C-b>',
scroll_left = '<C-h>',
scroll_right = '<C-l>',
},
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jasonxue1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jasonxue1
In mini.pick, there are already default mappings for moving the selection up and down. You can use:
<C-n>to move the selection down<C-p>to move the selection upSimilarly, to scroll the preview window, you can use:
<C-b>to scroll up<C-f>to scroll downIf you want to remap
<C-j>and<C-k>for selection movement, you can configuremini.picklike this: