I make use of the builtins in spf13. Today when I open multiple files with vim and want to close one of them with q it closes all these files, how can I close only a few of them without closing them all?
This is not specific to spf13, but it applies to all Vim. If you've loaded multiple files in the given manner, vim will issue such warning message because
q will try to quit Vim, but there are other files that haven't been edited yet.
Instead, after you're done editing with the current file, you can go to next file using
:next. If you want to go back to previous file, you can do
:Next, with capital N.
You can also use buffer commands, which is what I recommend. You can use
:ls to list all buffers,
:bprev, to go go to next/previous buffers, and
:buffer 5 to go to 5th buffer, etc.
To close and unload the current buffer, you can also do
:bd for short), and keep other buffers.