[emacs] remove key-seq and only use key-chord, decrease delay
authorAmin Bandali <amin@aminb.org>
Mon, 23 Jul 2018 04:47:56 +0000 (00:47 -0400)
committerAmin Bandali <amin@aminb.org>
Mon, 23 Jul 2018 04:51:52 +0000 (00:51 -0400)
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
init.org
lib/key-seq [deleted submodule]

index 3f7cb91..fd5579b 100644 (file)
 [submodule "key-chord"]
        path = lib/key-chord
        url = git@github.com:emacsorphanage/key-chord.git
 [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
 [submodule "lcr"]
        path = lib/lcr
        url = git@github.com:jyp/lcr.git
index 0cf8627..251e587 100644 (file)
--- 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
 
   ("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)
 
 #+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
   (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
 #+end_src
 
 * Email
diff --git a/lib/key-seq b/lib/key-seq
deleted file mode 160000 (submodule)
index e29b083..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e29b083a6427d061638749194fc249ef69ad2cc0