Skip to content

Add short key names#5317

Open
Capt0rr wants to merge 1 commit intomawww:masterfrom
Capt0rr:short-key-names
Open

Add short key names#5317
Capt0rr wants to merge 1 commit intomawww:masterfrom
Capt0rr:short-key-names

Conversation

@Capt0rr
Copy link
Copy Markdown

@Capt0rr Capt0rr commented Apr 19, 2025

Minor addition, this was driving me nuts.

I like that we have ret, esc, lt, gt, but then being forced to use space, backspace, pageup instead of spc, bspc, pgup, pgdn is mental torture and makes for unnecessarily more verbose scripts.

@Delapouite
Copy link
Copy Markdown
Contributor

For me the "mental torture" has always been to endure weird and arbitrary abbreviations that our industry mindshare has inherited from the 70's and ended considering normal in a Stockholm syndrome-like experience.

A few random examples: pwd vs passwd, glob (global what?), int, for interrupt, or integer, ifconfig (for interface where we already if for conditionals, str for both string or struct…

My point is, there's no need to keep going this trend and favor ambiguity just to save a few characters.

@Capt0rr
Copy link
Copy Markdown
Author

Capt0rr commented Apr 24, 2025

Your point is moot, not only because my PR doesn't take anything away from you (you're free to continue writing <backspace> as many times as it takes to fix the industry), but also because you're as wrong about my motivations as you are about the definitions of "weird", "arbitrary", and "ambiguity" - str for struct is the only example that I might agree is ambiguous, but it's certainly not weird or arbitrary (and I've never seen it, nor has google, so it's not something "considered normal" either).

Like it or not, kak - I mean k-a-k-o-u-n-e (sorry for the ambiguity) - already uses abbreviations for half the key names and they're not going anywhere (nor is anyone confused by them), so I'm simply making the other half consistent.

I sure hope consistency is still something we can all agree on, although it is inherited all the way back from the 60s so...

@danr
Copy link
Copy Markdown
Contributor

danr commented May 8, 2025

Two comments:

  1. I love shorthands, but percent surely should be pct, not perc.
  2. On the other hand, I agree with @Delapouite 😬

@Capt0rr
Copy link
Copy Markdown
Author

Capt0rr commented May 9, 2025

I love shorthands
I agree with @Delapouite 😬

one of those isn't true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants