diff options
author | jao <jao@gnu.org> | 2021-04-03 01:51:31 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-04-03 01:51:31 +0100 |
commit | de652405d617c99a8982a8e143e8cc460077b726 (patch) | |
tree | 448215d6f693931424018d79dd2022e97bc7e7f6 | |
parent | 46c68e8caa7ea16a1cf4408967cae6dc33eb4858 (diff) | |
download | elibs-de652405d617c99a8982a8e143e8cc460077b726.tar.gz elibs-de652405d617c99a8982a8e143e8cc460077b726.tar.bz2 |
repeat mode
-rw-r--r-- | init.org | 23 |
1 files changed, 2 insertions, 21 deletions
@@ -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 |