Skip to content

Conversation

@rynoV
Copy link

@rynoV rynoV commented Jan 27, 2026

Description

When creating a multi picker, it is currently difficult to override the keys defined in the multi's sources.

For example, if I have a config like:

        files = {
          win = { input = { keys = {
            ['<M-g>'] = { 'do_something' },
          } } },
        },
        smart = {
          multi = {
            'buffers',
            'files'
          },
          win = { input = { keys = {
            ['<M-g>'] = { 'do_something_else' },
          } } },
        },

M-g will run do_something in both the files and smart pickers, but with this PR it will run do_something_else in the smart picker

Related Issue(s)

I didn't find any open issues

@github-actions github-actions bot added picker size/xs Extra small PR (<3 lines changed) labels Jan 27, 2026
@rynoV rynoV marked this pull request as ready for review January 27, 2026 16:24
@rynoV rynoV changed the title [picker] Prefer multi-specific keybinds over the source keybinds feat(picker) Prefer multi-specific keybinds over the source keybinds Jan 27, 2026
@rynoV rynoV changed the title feat(picker) Prefer multi-specific keybinds over the source keybinds feat(picker): Prefer multi-specific keybinds over the source keybinds Jan 27, 2026
@rynoV rynoV changed the title feat(picker): Prefer multi-specific keybinds over the source keybinds feat(picker): prefer multi-specific keybinds over the source keybinds Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

picker size/xs Extra small PR (<3 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant