I know that with commands like
sbuffer you can create a new buffer and display it in a split window, and commands like
enew can create a new buffer in the current window. But is it possible to not display the buffer in any way but just create a hidden buffer right away?
My use case is that I have a python class that should return a
vim.buffer object to be processed. The display happens differently depending on conditions in the calling object. So I need a buffer that I can load, and write stuff into (it's a buffer not associated with any file, so it's a
nofile buftype), but that is not displayed until I command to load into the current or some other window.