From: Amin Bandali Date: Mon, 23 Jul 2018 04:47:56 +0000 (-0400) Subject: [emacs] remove key-seq and only use key-chord, decrease delay X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/7a04e1860d0a0d5fd86094c792f4b8f6d96613cf?ds=inline [emacs] remove key-seq and only use key-chord, decrease delay the delay on j was annoying, even if only 0.075s. switch to key-chord so order won't matter, and bring delay down to 0.005s. --- diff --git a/.gitmodules b/.gitmodules index 3f7cb91..fd5579b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -102,9 +102,6 @@ [submodule "key-chord"] path = lib/key-chord url = git@github.com:emacsorphanage/key-chord.git -[submodule "key-seq"] - path = lib/key-seq - url = git@github.com:vlevit/key-seq.el.git [submodule "lcr"] path = lib/lcr url = git@github.com:jyp/lcr.git diff --git a/init.org b/init.org index 0cf8627..251e587 100644 --- a/init.org +++ b/init.org @@ -1175,19 +1175,16 @@ Emacs package that displays available keybindings in popup ("e" mwim-end-of-code-or-line)) #+end_src -** [[https://github.com/vlevit/key-seq.el][key-seq]] (uses [[https://www.emacswiki.org/emacs/KeyChord][key-chord]]) +** [[https://www.emacswiki.org/emacs/KeyChord][key-chord]] #+begin_src emacs-lisp (use-package key-chord :demand t :config (key-chord-mode 1) + (key-chord-define-global "jk" 'ryo-modal-mode) (setq key-chord-one-key-delay 0 ; i don't need one-key chords for now - key-chord-two-keys-delay 0.075)) -(use-package key-seq - :after key-chord - :config - (key-seq-define-global "jk" 'ryo-modal-mode)) + key-chord-two-keys-delay 0.005)) #+end_src * Email diff --git a/lib/key-seq b/lib/key-seq deleted file mode 160000 index e29b083..0000000 --- a/lib/key-seq +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e29b083a6427d061638749194fc249ef69ad2cc0