vim Configuring Vim Commands

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Example

  • Don't forget the bang to allow Vim to overwrite that command next time you reload your vimrc.
  • Custom commands must start with an uppercase character.

Examples

command! MyCommand call SomeFunction()
command! MyOtherCommand command | Command | command
  • See :help user-commands.


Got any vim Question?