Skip to content
Discussion options

You must be logged in to vote
opts = {
  picker = {
    sources = {
      explorer = {
        actions = {
          explorer_rename = function(picker, item) --[[Override]]
            require('snacks.explorer.actions').actions.explorer_rename(picker, item)
            vim.api.nvim_input '<Esc>T/'
          end,

Note

This code results in a recursive loop:

picker:action 'explorer_rename'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gaven140
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