I am using Programmer Dvorak layout. So typing numbers for navigation is not easy. Can I instead navigate with alphabetical characters showing up in place of relative numbers? Any other ideas?
-
Welcome to Vi and Vim!– filbranden ♦Aug 11, 2020 at 1:13
-
en.wikipedia.org/wiki/File:KB_Programmer_Dvorak.svg– Rounak JainAug 11, 2020 at 1:18
-
Anything useful here vim.fandom.com/wiki/Using_Vim_with_the_Dvorak_keyboard_layout ? Also, googling "vim dvorak" reveals a slew of articles about using dvorak style keyboards with Vim. Gotta be something you can use there, no?– B LayerAug 11, 2020 at 1:40
1 Answer
You might like the vim-easyoperator-line plug-in, which allow you to create a mapping that will highlight each line with an alphabetic or punctuation character and have you press it to move to that line. Sounds like what you described...
This plug-in was spawned from vim-easymotion which does something similar, but primarily for motions of the kind f{char}
or searches using /
, but you might find you actually like the full set of motions provided by vim-easymotion and decide to go with that one.
-
1By the way, EasyMotion does it from the box. See <Leader>j in docs. Default mapping will be double leader + j. Same for k.– DmitryAug 11, 2020 at 7:23