nvim-tree.lua
nvim-tree.lua copied to clipboard
File created messages causes "press enter" problems with cmdheight=1
Creating, deleting files causes "press enter" errors because cmdheight is not big enough. I dont want to use cmdheight=2 because it is ugly and unnecessary.
- Event.FileCreated
handler parameters:
{fname} `{string}` Absolute path to the created file
Instead of just absolute path i think it should be possible to use just the file/directory names. Because when you use cmdheight lower than 2, you need to press enter. Press enter makes cursor jump so you lose your flow.
Related: https://github.com/kyazdani42/nvim-tree.lua/issues/1502
I'm not seeing that behaviour with my setup nor an nvt-min.lua setup.
Please create an nvt-min.lua so that we may reproduce.
Assuming it's no longer an issue. Please create new issue with minimal reproduction if it is.