summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-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