I love being able to SHIFT-K and get the docstring on a class or function. However, when I am done with the doc split at the top of my screen I have to navigate to it (CTRL-w) and close the split (:q). And it is still in my buffer list, which is a bit annoying when I'm cycling through buffers.
I'm just wondering, am I missing a command or configuration to close the split and remove it from the buffer list?
Are you looking for
:bd
(you still need to put the cursor in that (sub-)window)?A short explanation from vim's help file: