Skip to content
Discussion options

You must be logged in to vote

Warning

There is no on_select callback.

files = {
  confirm = function(picker, item) --[[Same as `actions.confirm`]]
    vim.fn.chdir(picker:dir())
    -- For most pickers, the default `confirm` action is `jump`
    picker:action 'jump'
  end,
}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@itsonlyjames
Comment options

@drowning-cat
Comment options

@drowning-cat
Comment options

@dpetka2001
Comment options

@itsonlyjames
Comment options

Answer selected by itsonlyjames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants