by synu · 3y ago · 0 comments
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.
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.
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.
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