BurntSushi / wingo

A fully-featured window manager written in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[suggestion] let wingo-cmd ignore case of command keyword

dlintw opened this issue · comments

Maybe it is proper the use exact case in config file like Go.
But, as a user, I would like it ignore case to save my fingers.
So, I can just type wingo restart instead of wingo Restart.

Hmm. Interesting idea. I'm torn. I'll chew on it a bit.

FWIW - this is stupid. Learn to type.

We can think about why unix designed those command ls,rm,md as lowercase.
I don't think this idea is stupid. If it is used for programmer's script, it is OK, because editor can be enhanced by auto-complement plugin.

After thinking about this, I agree with @AeroNotix. Also, Gribble commands start with an uppercase letter because they directly correspond to a Go struct type, and exported Go struct types must start with a capital letter. It isn't mandatory that this correspondence be exposed to Wingo users, but I just don't see a compelling reason to do extra work so that you can write with lowercase letters.

I don't really think "editor plugins" are a valid solution to problems in a ultra small user base. Someone needs to make those editor plugins, and it's unlikely to be me.