[No Name] buffers in :ls list #25

Closed
gdance opened this Issue Dec 2, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@gdance

gdance commented Dec 2, 2012

Hello,

I am using vdebug with vim and think it is really great. However whenever I stop debugging with F6 I notice that there are a whole bunch of [No Name] buffers that show up when I do a :ls command.
When I try to use :bd on them they don't get removed and I have to cycle through them when I am using :bn and :bp do you know of anything I could do to figure out why they are being created?

Here is my :ls output after running vdebug a couple times.

1 %a + "portfolio.php" line 27
2 #a "[No Name]" line 1
6 a "[No Name]" line 1
10 h "includes/functions.php" line 78
11 h "includes/header.php" line 26
12 a "[No Name]" line 1
16 h- "[Vundle] Installer" line 19

@joonty

This comment has been minimized.

Show comment Hide comment
@joonty

joonty Dec 3, 2012

Collaborator

Thanks for the detailed issue! I've discovered what's causing this. Calling tabnew in Vim creates a new buffer with no name, and tabc closes the tab but doesn't remove the empty buffer that it created.

I'll put something in to detect the newly created buffer, and remove it if it hasn't been changed when the tab closes.

Thanks

Collaborator

joonty commented Dec 3, 2012

Thanks for the detailed issue! I've discovered what's causing this. Calling tabnew in Vim creates a new buffer with no name, and tabc closes the tab but doesn't remove the empty buffer that it created.

I'll put something in to detect the newly created buffer, and remove it if it hasn't been changed when the tab closes.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment