summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-07-23 00:47:56 -0400
committerAmin Bandali <amin@aminb.org>2018-07-23 00:51:52 -0400
commit7a04e1860d0a0d5fd86094c792f4b8f6d96613cf (patch)
tree6648d86975072826f1fcb78317aaeeaaded9bf0d
parentf8869b0b6566b941cad4989e03a1b7ba90748b28 (diff)
downloadconfigs-7a04e1860d0a0d5fd86094c792f4b8f6d96613cf.tar.gz
configs-7a04e1860d0a0d5fd86094c792f4b8f6d96613cf.tar.xz
configs-7a04e1860d0a0d5fd86094c792f4b8f6d96613cf.zip
[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.
-rw-r--r--.gitmodules3
-rw-r--r--init.org9
m---------lib/key-seq0
3 files changed, 3 insertions, 9 deletions
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
-Subproject e29b083a6427d061638749194fc249ef69ad2cc