Closer number keys
from jroid8@lemmy.world to linux@lemmy.ml on 01 Jan 07:36
https://lemmy.world/post/23762946

For over 2 years my only problem when using vim is how hard to reach the number keys are. They make jumping between lines easier but despite my attempts to get used to the far number keys, some are still not easy to reach like 6. I only have ideas of what would an ideal solution could look like but I don’t know how to execute them. One is to make caps lock some kind of modifier which turns home row keys into number keys, but because of the limitations of terminal emulators even if I turn caps lock into an obscure modifier (in kde settings) I won’t be able to use it in neovim. I would appreciate any ideas that help. I’m using kde plasma with wayland under arch linux.

Edit: please no mention of split keyboards. Even if I can afford them I prefer not getting used to something I have to carry additionally with my laptop

#linux

threaded - newest

NeoNachtwaechter@lemmy.world on 01 Jan 09:01 next collapse

Do you have especially short fingers? Or other physical problems?

Or do you just need to learn to type?

jroid8@lemmy.world on 01 Jan 12:46 collapse

Thanks for the comment. Neither, I’ve been typing with 10 fingers for 3 years, and my fingers are normal. I just want to access my number row without having to move my hands as much. It’s a hyper optimization I know but I would move closer to typing and editing with the speed of thought if I do it

drspod@lemmy.ml on 01 Jan 14:25 collapse

I’ve been typing with 10 fingers for 3 years

That’s 30 finger-years!

kellenoffdagrid@lemmy.sdf.org on 01 Jan 09:57 next collapse

Haha the edit about split keyboards, you know my every damn move. But really, I think you’re onto something there about finding a way to make your home row into a number row via some kind of layering. How exactly that’s done depends on what keyboard you’re using: if it’s an external keyboard then maybe you could use a QMK board and make custom layers for that. If it’s the keyboard built into your laptop, I’ve seen people mention KMonad working well for them, maybe that’s worth looking into.

jroid8@lemmy.world on 01 Jan 14:30 collapse

Thanks for the suggestion! I’m now using Kanata which is inspired by Kmonad and it’s working well so far. Despite the cool things that come with external keyboards split or not, I don’t want to be uncomfortable with my built in keyboard when my laptop is on my legs or I just don’t have access to a table in general

pemptago@lemmy.ml on 01 Jan 10:20 next collapse

I’m using xkb and modified the custom layout so RAlt is Altgr and layer 3 places arrow keys under my right hand and various brackets under my left when I hold right alt modifier. Sorry I can’t give more info at the moment. Feel free to message me if you pursue this and hit a wall. I can provide more details this weekend.

[Edit: just saw the wayland info, apologies if that means xkb is out. Honestly don’t know the implications offhand. leaving this comment in case there’s anything useful]

Morphit@feddit.uk on 01 Jan 11:54 next collapse

Kanata is an alternative (like KMonad) that I’ve heard good things about.

btw

I just use qmk on my split keyboard.

jroid8@lemmy.world on 01 Jan 12:53 collapse

Trying it at the moment. Thank you!

Edit: It’s working better than I expected. Thanks for the suggestion

maxprime@lemmy.ml on 01 Jan 13:23 collapse

If this works I would recommend yuihjknm, being mapped to 789456123 respectively, with space mapped to 0. That’s how I have it set up on my mechanical keyboard and it’s quite fast. I also recently mapped b to . which makes typing IP addresses quite a bit faster.

[deleted] on 01 Jan 14:23 next collapse

.

jroid8@lemmy.world on 01 Jan 14:23 collapse

What’s the background for that order? why not just asdfghjkl; to 1234567890? (just curious, no offense)

maxprime@lemmy.ml on 01 Jan 20:46 collapse

To emulate a numpad.

Jumuta@sh.itjust.works on 01 Jan 15:59 collapse

you could use evremap for a system wide keyboard remap on the device layer