ctrlp_bdelete.vim icon indicating copy to clipboard operation
ctrlp_bdelete.vim copied to clipboard

Certain `buffer` types undeletable.

Open amadeus opened this issue 10 years ago • 2 comments

In this screenshot, the top buffer, which is a Netrw Directory Listing,

https://dl.dropboxusercontent.com/s/zcfmghdwxo9flt7/ControlP_20140604_142943_20140604_142946.png

Cannot be deleted using Ctrl + @. In another weird twist... CtrlP seems unusable when viewing these Netrw directories as well, perhaps it is a CtrlP issue.

amadeus avatar Jun 04 '14 21:06 amadeus

Interestingly I can't get ctrlp to display netrw listings at all. Are you just doing something along the lines of:

# open multiple buffers
:e some/directory
# switch to some other buffer
:CtrlPBuffer

?

I can switch between a netrw and a normal buffer using :b #, but :CtrlPBuffer refuses to even show them. I wonder if we're on different CtrlP versions.

I'm at commit b5d3fe66a58a13d2ff8b6391f4387608496a030f, which seems to be the most recent commit. I haven't configured ctrlp beyond let g:ctrlp_show_hidden = 1 and I have no plugins installed that use ctrlp, other than this one.

d11wtq avatar Jun 15 '14 00:06 d11wtq

That actually seems to be a consequence of switching between the netrw buffer and a normal buffer. It even disappears from :ls in vim.

d11wtq avatar Jun 15 '14 00:06 d11wtq