<C-e>, <C-y> keys for scroll in explorer? #1788
Answered
by
drowning-cat
rudenkornk
asked this question in
Q&A
-
New snacks explorer does not have |
Beta Was this translation helpful? Give feedback.
Answered by
drowning-cat
Apr 23, 2025
Replies: 1 comment 4 replies
-
What do you want to scroll, opts = {
picker = {
sources = {
explorer = {
actions = {
list_scroll_down_1 = function(picker)
picker.list:scroll(1, false)
end,
list_scroll_up_1 = function(picker)
picker.list:scroll(-1, false)
end,
},
win = {
input = {
keys = {
['<C-x><C-y>'] = { 'list_scroll_down_1', mode = 'i' },
['<C-x><C-e>'] = { 'list_scroll_up_1', mode = 'i' }, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define a key for:
input
list
preview
Like this: