im switching to colemak-dh and i need some advice.

im writing this with colemak-dh, beleive me its hard. whats even harder is the hjkl navigation. so should i remap it to neio? you can consider me a long run guy, so your answers can be based on that.

thanks in advance.

  • Thedudeman@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Regular colemak user here, I have found the simplest thing to do is use the langmap option to rebind every function of hjkl to neio.

    To try it out or add it to your init.vim config, run set langmap=hjklHJKLneioNEIO;neioNEIOhjklHJKL

    If you have an init.lua config, add vim.opt.langmap = 'hjklHJKLneioNEIO;neioNEIOhjklHJKL'

    It will rebind your motion in all modes and their shortcuts, so you don’t have to spend any time mapping everything individually. However, it doesn’t remap things in some extensions like which-key which is a huge pain to the point that I have just stopped using the extension entirely instead of trying to figure out all the mappings for a seamless experience.

  • yagrum@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 months ago

    I’ve been using colemak mod dh without remapping and would recommend that approach. I found it encourages me to use other more efficient motions when possible, and my brain has gotten pretty used to the new locations the times that I need to use hjkl.

    • t0mri@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      thats great. things i can think of is / and ? only. can you share them pls

      • Xephopiqua@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        I use flash.nvim extensively to jump around. There are also %, [[, [(, etc to work with brackets. vim-multicursor-visual helps to find and edit multi occurrences.

        And for the rest I have a an easily reachable layer on my programmable keyboard with arrow keys in the home row instead of QWERTY ghjk