Vim newbie here.
When I issue the :wq
Ex command, I would like to make it save and close just the active buffer, instead of saving it and then quitting from Vim.
Similarly, I would like to make the :q
command to be identical to :bd
in its effect.
Any suggestions how to implement this behavior?