Even after 10+ years of daily use, I never managed to make navigating via hjkl work naturally with my brain — I need “up” to be physically above “down”. So I set up key bindings for the classic “inverted T” formation, dealt with the secondary effects, and I’m much more comfortable. https://github.com/rectang/dotfiles/blob/30e0a41714c34416f10...
Dare I say I use vim more like it was intended to be used with this new setup, as my right hand remains in place and is not constantly flying to the arrow keys and back.
Now I struggle a bit when I have to work on a stock vi, but that’s a very small part of what I do.
I learned Colemak about ten years ago but only got into vim in the past three years. Does anyone use vim with eMacs bindings?
https://ergonomictrends.com/wp-content/uploads/2019/02/prope...
Even clicking on links...w/ Tridacty you just press "f" then all the links get have a 2 or 3 letter combination to open them:
https://i.imgur.com/xfWRbC7.png
tabnext/tabprev is shift-J/K etc. history Back/Forward is shift-H/L... those 4 groups (clicking, history, tabs, and scrolling) = 90%+ of browser usage
Using the mouse is way less efficient. Learning how to browser purely with keyboard is very rewarding.
``` " Make carat easier to type. inoremap <C-a> ^ ```
Granted, escape also meets those criteria if you map it to the caps lock key, which I do. The jk mapping is still useful in the rare occasions I use vim on my phone, though.
Ctrl+AltGr+8 is involved enough that I might as well press Esc.
A lot of software developers are unaware of the AltGr[1] key or even assume US ANSI layout altogether so as a user I have been trained not to take keybindings involving that layer for granted.
As a real world example of similar issues, there's piece of software (I think it was telnet or mosh, but I apologize if I misremember) where Ctrl+^ is used as an escape sequence. This doesn't work for me, possibly because caret is a dead key[2] on my keyboard. For some reason, perhaps related to using scancodes instead of key codes, Ctrl+6 happens to work in that application.
[1] https://en.wikipedia.org/wiki/AltGr_key [2] https://en.wikipedia.org/wiki/Dead_key
I now do a pretty standard config (mostly use the vim plugin in VSCode since I'm a software dev nowadays).
set tabstop=3 set shiftwidth=0 set autoindent