nvim-tree.lua icon indicating copy to clipboard operation
nvim-tree.lua copied to clipboard

File created messages causes "press enter" problems with cmdheight=1

Open kubil6y opened this issue 2 years ago • 2 comments

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.

kubil6y avatar Aug 13 '22 12:08 kubil6y

Related: https://github.com/kyazdani42/nvim-tree.lua/issues/1502

Shougo avatar Aug 14 '22 04:08 Shougo

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.

alex-courtis avatar Aug 14 '22 05:08 alex-courtis

Assuming it's no longer an issue. Please create new issue with minimal reproduction if it is.

gegoune avatar Nov 26 '22 08:11 gegoune