I've found few Stack Overflow questions talking about this, but they are all regarding only the :nmap
or :noremap
commands.
I want a command, not just a keybinding. Is there any way to accomplish this?
Use-case:
When I run :make
, I doesn't saves automatically. So I'd like to combine :make
and :w
. I'd like to create a command :Compile
/:C
or :Wmake
to achieve this.