My setup
GNU Emacs GUI (version 24.4.51.1 (x86_64-w64-mingw32) compiled from Harroogan Emacs.)
Package key-chord.el
Package Evil-mode
Situation
I use the Evil mode. I tried to solve my issue with the maintainer (Frank Fischer is a hero, for maintaining an awesome package) in the past: https://bitbucket.org/lyro/evil/issues/505/proper-error-handling-in-case-of-custom
So basically, I don't like the idea behind the package key-chord
, because you need to press your keys simultaneously, instead rolling or typing. It will hurt your fingers in the long term, and it's not comfortable (with typing, you're rolling with your fingers). I tried to solve it with
(setq key-chord-two-keys-delay 0.4)
Ok, when typing fast, it would be workable. But if I want to jump to awindow with keys on the home-row of the keyboard, I could configure it with
(key-chord-define-global "fj" 'evil-window-down)
So, when you want to go to another window down, you're just typing fj
, and you * jumps * into another window. Okay. But when you want to find the charachter j
? Just press f
, then wait 600 miliseconds, then press j
. Simple.
Problem
This is where the problem arises. When you want to go down one line, the j
key in Evil becomes terribly slow (because of the key-delay). So I'm wondering if there a package exists, that does looks only to the first character, instead all the characters in the key-binding? Any suggestion?
linum
or its relatedlinum-relative
package enabled? Does the navigation delay on hittingj
go away if you unbind thatfj
key chord?key-seq
.. probably based on that answer (my earlier comment)?linum
orlinum-relative package
. But 'key-seq`seems to solve my question. The package is fairly young, when I was searching earlier, I couldn't find it. Thanks for your help! I wished I could mark your answer als the right one...