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

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -