telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

`file_browser.actions` refocus on main editor buffer

Open askorupskyy opened this issue 2 months ago • 1 comments

Description

When I open :Telescope file_browser and try to rename/remove/create a file, it seems like after the action is complete, the buffer is reset to the main editor. It wasn't like that prior to nvim 0.11.4. My config is in my .dotfiles repo.

Neovim version

NVIM v0.11.4
Build type: Release
LuaJIT 2.1.1753364724
Run "nvim -V1 -v" for more info

Operating system and version

macOS 26.0.1

Telescope version / branch / rev

master/0.1.8 - tried multiple

checkhealth telescope

==============================================================================
telescope:                                                                  ✅

Checking for required plugins ~
- ✅ OK plenary installed.
- ✅ OK nvim-treesitter installed.

Checking external dependencies ~
- ✅ OK rg: found ripgrep 14.1.1
- ✅ OK fd: found fd 10.2.0

===== Installed extensions ===== ~

Telescope Extension: `file_browser` ~
- No healthcheck provided

Telescope Extension: `fzf` ~
- ✅ OK lib working as expected
- ✅ OK file_sorter correctly configured
- ✅ OK generic_sorter correctly configured

Steps to reproduce

  1. brew install nvim
  2. Download my config from my pinned repos
  3. Open up :Telescope file_browser
  4. Try to remove/edit/create a file
  5. Voila

Expected behavior

No response

Actual behavior

https://github.com/user-attachments/assets/713d135f-08a3-4569-8357-7af697ea1572

Minimal config

local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "cache" } do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
  vim.fn.system {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  }
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    "nvim-telescope/telescope.nvim",
    dependencies = {
      "nvim-lua/plenary.nvim",
    },
    config = function()
      -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
      require("telescope").setup {}
    end,
  },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

askorupskyy avatar Oct 22 '25 21:10 askorupskyy

I'm having the same issue

gzbd avatar Nov 07 '25 10:11 gzbd