• You are not logged in.

    Colemak for VIM

    • Started by dougui
    • 7 Replies:
    • Reputation: 0
    • Registered: 29-Nov-2015
    • Posts: 2

    Hi,

    I'm a vim user and I use hjkl to move. hjkl are at a very good position in a QWERTY keyboard but not so well on a colemak one. If I want to use neio, I have to remap those keys. Vim seems to not be designed for this. There is mnemotechic for N[ext] E[nd] I[nsert] O[?].

    What is you feedback with vim and colemak?

    Thanks!

    Offline
    • 0
    • Reputation: 0
    • Registered: 29-Nov-2015
    • Posts: 2

    I saw this thread : https://forum.colemak.com/viewtopic.php?id=50&p=6 . It seems to be possible to remap but there is not a clear status or a vim plugin. The latest solution seems to rebind a lot of keys, I don't really want to relearn vim. Furthermore, the thread is old.

    What you think?

    Offline
    • 0
    • Reputation: 7
    • Registered: 21-Apr-2010
    • Posts: 818

    Welcome!

    It's been discussed before, but if you know Vim shortcuts by letter, you should be able to translate them easily enough in your head.  I didn't bother remapping the shortcuts.

    The only irritation for me with Dvorak was the movement of the colon.  The loss of the home keys navigation hasn't been much of an issue as I mainly use find, w (word forwards), b (word backwards), CTRL + U (page Up), CTRL + D (page Down) for navigation anyway, so it isn't that much bother.

    I do use Vim alot, but I am not a power user.

    Last edited by pinkyache (30-Nov-2015 19:57:37)

    --
    Physicians deafen our ears with the Honorificabilitudinitatibus of their heavenly Panacaea, their sovereign Guiacum.

    Offline
    • 0
    • Reputation: 117
    • From: UK
    • Registered: 14-Apr-2014
    • Posts: 975

    I wonder why vim users like their HJKL so much. I would have thought  IJKL qwerty = UNEI colemak  would be much better.

    Last edited by stevep99 (30-Nov-2015 11:08:16)

    Using Colemak-DH with Seniply.

    Offline
    • 0
    • Reputation: 0
    • Registered: 12-Oct-2015
    • Posts: 26

    @stevep99 it goes back from old terminals... predating WASD. It's actually better, since you have a finger per key, instead of using your middle finger for two.

    @dougui, I would really recommend you do _NOT_ remap the keys. You shouldn't be using those keys ofter anyway, and they are all reachable with your index. Take it as an opportunity to learn the better movement keys.

    Offline
    • 0
    • Reputation: 117
    • From: UK
    • Registered: 14-Apr-2014
    • Posts: 975
    bombdiggity said:

    @stevep99 it goes back from old terminals... predating WASD. It's actually better, since you have a finger per key, instead of using your middle finger for two.

    Back in the day, I remember actually using vi(m) with green-screen terminals, but even then I remember thinking the choice of HJKL was a bit weird for navigation. Even if I buy the one-finger-per-key argument, it should JKL;

    Last edited by stevep99 (01-Dec-2015 15:15:25)

    Using Colemak-DH with Seniply.

    Offline
    • 0
    • Reputation: 0
    • Registered: 12-Oct-2015
    • Posts: 26

    just like offset columns don't.

    Here's the history: http://www.catonmat.net/blog/why-vim-us … rrow-keys/

    Offline
    • 0
    • Reputation: 1
    • Registered: 19-May-2012
    • Posts: 26

    I'm a heavy vim user, and I don't remap anything to compensate for using colemak. The defaults work well for me though I will admit, hjkl is nice, but I really don't miss it. Also, trying to fix it by remapping seems to cause a lot of other things to change about vim, and I like keeping the mnemonics.

    My vim setup for the curious: https://github.com/farmergreg/dotfiles
    and here's a shameless plug for: https://github.com/farmergreg/vim-lastplace

    Last edited by dietsche (08-Mar-2017 07:07:27)
    Offline
    • 0