Quantcast
Channel: Active questions tagged user-commands - Vi and Vim Stack Exchange
Viewing all articles
Browse latest Browse all 60

How to create user command without a capital letter as first letter?

$
0
0

I know I can set user-defined commands using the :command Foo bar syntax, but I want a way to set a command without using capitals.

For example, to save all open buffers, the command is :wa, but that's slightly too inconvenient. I'd really like to be able to just do :ww.

What's with this seemingly arbitrary limitation? Why do I have to use capital letters?


Viewing all articles
Browse latest Browse all 60

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>