FloatToggle conflicts with nvim tree window picker feature
ray-x opened this issue ยท 3 comments
ray-x commented
windwp commented
:) you can count window and press blind key a,b,c ๐๐๐
ray-x commented
Yes, it is true. never mind.
windwp commented
i have some cheat.
local treeutils = require('nvim-tree.utils')
local fl = require('wlfloatline')
_G._tree_get_user_input_char = _G._tree_get_user_input_char or treeutils.get_user_input_char
treeutils.get_user_input_char = function ()
fl.floatline_hide()
local char = _G._tree_get_user_input_char()
fl.floatline_on_resize()
return char
end
you can disable the picker
vim.g.nvim_tree_disable_window_picker=0