From 7a04e1860d0a0d5fd86094c792f4b8f6d96613cf Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 23 Jul 2018 00:47:56 -0400 Subject: [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. --- .gitmodules | 3 --- init.org | 9 +++------ lib/key-seq | 1 - 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 160000 lib/key-seq 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 -- cgit v1.2.3-60-g2f50