close/replace [No Name] buffer on selecting the file in snap
zenobht opened this issue · comments
Not a bug as such.
Steps to reproduce
- open nvim without arguments. It creates an empty [No Name] buffer.
- Select a file in snap, it should replace the [No Name] buffer.
- But snap creates a new buffer.
- We can see 2 buffers in the tabline. One of which is [No Name].
- This [No Name] buffer is not listed in snap buffers call.
In telescope.nvim/fzf.vim it would close/replace the [No Name] buffer.
If you open a file using :e file.txt
, this will also replace the [No Name] buffer.
Yes, this, pretty please. :)