You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I mark a file and then yank into the same folder to rename, the rename UI appear but doesn't get focus. It is then not possible to rename the file. Video to demonstrate. I'm marking a file then trying to paste it into same location and rename.
rename.mov
The error that ultimately appears:
Error executing vim.schedule lua callback: ...pack/packer/opt/telescope.nvim/lua/telescope/pickers.lua:891: Invalid buffer id: 71
stack traceback:
[C]: in function 'nvim_buf_set_lines'
...pack/packer/opt/telescope.nvim/lua/telescope/pickers.lua:891: in function 'reset_prompt'
...pack/packer/opt/telescope.nvim/lua/telescope/pickers.lua:921: in function 'refresh'
....nvim/lua/telescope/_extensions/file_browser/actions.lua:416: in function 'copy_selections'
....nvim/lua/telescope/_extensions/file_browser/actions.lua:408: in function 'on_confirm'
...e/pack/packer/start/dressing.nvim/lua/dressing/input.lua:79: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Neovim version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.7.0/share/nvim"
Run :checkhealth for more info
Operating system and version
macOS 12.4
Steps to reproduce
open file browser
mark a file
paste file into same folder for rename
Expected behavior
rename box focused ready for rename.
Actual behavior
rename UI is not focused
Minimal config
vim.cmd[[set runtimepath=$VIMRUNTIME]]vim.cmd[[set packpath=/tmp/nvim/site]]localpackage_root='/tmp/nvim/site/pack'localinstall_path=package_root..'/packer/start/packer.nvim'localfunctionload_plugins()
require('packer').startup {
{
'wbthomason/packer.nvim',
{
'nvim-telescope/telescope.nvim',
requires= {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope-file-browser.nvim',
},
},
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config= {
package_root=package_root,
compile_path=install_path..'/plugin/packer_compiled.lua',
display= { non_interactive=true },
},
}
end_G.load_config=function()
require('telescope').setup()
require('telescope').load_extension('file_browser')
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUEendifvim.fn.isdirectory(install_path) ==0thenprint("Installing Telescope and dependencies.")
vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
endload_plugins()
require('packer').sync()
vim.cmd[[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
The text was updated successfully, but these errors were encountered:
Seems to work for me if I understand it correctly. Also, you don't need to have the element multi-selected, i.e. just selecting suffices as you can just copy in-place if it's a single file/folder (which also works appropriately for me). I guess something about your config intervenes.
Description
When I mark a file and then yank into the same folder to rename, the rename UI appear but doesn't get focus. It is then not possible to rename the file. Video to demonstrate. I'm marking a file then trying to paste it into same location and rename.
rename.mov
The error that ultimately appears:
Neovim version
Operating system and version
macOS 12.4
Steps to reproduce
Expected behavior
rename box focused ready for rename.
Actual behavior
rename UI is not focused
Minimal config
The text was updated successfully, but these errors were encountered: