I am new to (Spac)Emacs with Evil, and I did quite some searching to find an answer to this question, so I hope this is a 'legitimate' question here.
Is there a default single command to write a buffer and kill only the buffer instead of quitting Emacs. I found answers for how to just quit a buffer here and here but I do not know how to do the same thing including saving the buffer in one command. For example, I can delete the buffer with :bd
, but :wbd
does not work.
If there is no default way, then what is a nice alternative to get this job done (in a single command of course).
C-x C-s C-x k
. But still a more spacemacs-like alternative would be nice too...