Can I (re)map Ex commands in vim? -


i love vim , speed gives me. sometimes, fingers speedy , find myself typing :wq instead of :wq. (on german keyboard, have press shift colon :.) vim complain wq not editor command.

is there way make w , q editor commands?

try

 :command wq wq  :command wq wq  :command w w  :command q q 

this way can define own commands. see :help command more information.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c# - Setting Server Bindings of IIS 6.0 Programmatically -

What do you think are the useless tags in HTML? -