3 ms·
This particular example makes assumptions: that hitting j four times is worse than entering } once. This depends on typist and keyboard; I use Swedish/Finnish
by ptaipale 10y ago
This particular example makes assumptions: that hitting j four times is worse than entering } once.
This depends on typist and keyboard; I use Swedish/Finnish keyboard and touch-type, and hitting j four times happens without looking or thinking. Hitting } requires me to lift my right hand from typing position, hold Alt-Gr, press 0, and then go back to typing position.
- skykooler 10y agoDoes Vim not have alternate mappings for other keyboard layouts?
- eru 10y agoThere's at least one remapping to make it dvorak friendly.
- jan888 10y agoI've used vim for years with Dvorak and no remapping. Works great, IMO.
- eru 10y agoOh, I'm using it that way, too. (Just don't tell anyone I'm not using hjkl for navigating; my Kinesis Advantage keyboard has cursor keys in sensible locations.) But there's at least one attempt at a nice remapping for dvorak.
- emondi 10y agoEvery major programming language uses english keyboard. I'm a starter amateur coder but first thing I did was learn the en-us keyboard layout. There are options to use Alt-Gr accented letters for spanish which I use but also for combining letters which should work for finnish/swedish.
- ptaipale 10y agoProgramming languages don't use keyboards; they use some sets of characters, typically a subset of ASCII. Keyboards then can produce those characters. And yes, typing [\]{|} and so on is inconvenient on my keyboard. I particularly detest the choice of \ over / in MSDOS and Windows path names. I occasionally use US keyboard layout just to get around these difficulties, but whenever I arrive at some random computer, it will have the local layout. (This is particularly confusing when going to France or Germany with they AZERTY and QWERTZ keyboards.)
- krallja 10y ago4j takes half the keystrokes of jjjj, no matter which keyboard layout you're using :)
- ptaipale 10y agoYes, but j is where my right index finger sits in the basic typing position, so hitting j four times is still better...