summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-03 01:51:31 +0100
committerjao <jao@gnu.org>2021-04-03 01:51:31 +0100
commitde652405d617c99a8982a8e143e8cc460077b726 (patch)
tree448215d6f693931424018d79dd2022e97bc7e7f6
parent46c68e8caa7ea16a1cf4408967cae6dc33eb4858 (diff)
downloadelibs-de652405d617c99a8982a8e143e8cc460077b726.tar.gz
elibs-de652405d617c99a8982a8e143e8cc460077b726.tar.bz2
repeat mode
-rw-r--r--init.org23
1 files changed, 2 insertions, 21 deletions
diff --git a/init.org b/init.org
index 6f2026e..99ed68b 100644
--- a/init.org
+++ b/init.org
@@ -233,6 +233,8 @@
#+end_src
*** Keyboard and hydra
#+begin_src emacs-lisp
+ (use-package repeat)
+ (repeat-mode)
(use-package hydra :ensure t)
(use-package major-mode-hydra
@@ -1344,23 +1346,6 @@
(global-set-key (kbd "s-a") #'jao-first-window)
(global-set-key (kbd "H-s-a") #'jao-first-window)
-
- (defun other-window-backward ()
- (interactive)
- (other-window -1))
-
- (defun transient-other-window ()
- (interactive)
- (let ((echo-keystrokes nil))
- (other-window 1)
- (set-transient-map
- (let ((map (make-sparse-keymap)))
- (define-key map "o" #'other-window)
- (define-key map "p" #'other-window-backward)
- map)
- t)))
-
- (global-set-key (kbd "C-x o") #'transient-other-window)
#+end_src
*** winner mode
#+begin_src emacs-lisp
@@ -2965,10 +2950,6 @@
(setq next-error-find-buffer-function
#'next-error-buffer-on-selected-frame
next-error-verbose t)
-
- (defhydra jao-hydra-errors (global-map "M-g")
- ("n" next-error "next error")
- ("p" previous-error "previous error"))
#+end_src
*** Language servers
#+begin_src emacs-lisp