Use additional shorter key binding for switching windows
`lispy` overwrites this binding, remove that. And while we are at it: don't let lispy load `semantic`, as we do not use it – I think.
This commit is contained in:
parent
80abf669f5
commit
6ae36fbe6a
5
init.el
5
init.el
@ -2878,8 +2878,8 @@ Note that this workaround is incomplete, as explained in this comment."
|
|||||||
:commands (lispy-mode)
|
:commands (lispy-mode)
|
||||||
:diminish lispy-mode
|
:diminish lispy-mode
|
||||||
:init (setopt lispy-no-permanent-semantic t)
|
:init (setopt lispy-no-permanent-semantic t)
|
||||||
:config (with-eval-after-load 'lispy-tags
|
:config (progn
|
||||||
(require 'semantic)))
|
(unbind-key "M-o" lispy-mode-map)))
|
||||||
|
|
||||||
(use-package elisp-mode
|
(use-package elisp-mode
|
||||||
:config (add-hook 'emacs-lisp-mode-hook 'turn-on-flycheck-when-file))
|
:config (add-hook 'emacs-lisp-mode-hook 'turn-on-flycheck-when-file))
|
||||||
@ -3159,6 +3159,7 @@ Note that this workaround is incomplete, as explained in this comment."
|
|||||||
(bind-key "M-g g" #'avy-goto-line)
|
(bind-key "M-g g" #'avy-goto-line)
|
||||||
(bind-key "M-g i" #'consult-imenu)
|
(bind-key "M-g i" #'consult-imenu)
|
||||||
(bind-key "M-j" #'(lambda () (interactive) (join-line -1)))
|
(bind-key "M-j" #'(lambda () (interactive) (join-line -1)))
|
||||||
|
(bind-key "M-o" #'ace-window)
|
||||||
(bind-key "M-z" #'zap-up-to-char)
|
(bind-key "M-z" #'zap-up-to-char)
|
||||||
|
|
||||||
(bind-key [remap fill-paragraph] #'endless/fill-or-unfill)
|
(bind-key [remap fill-paragraph] #'endless/fill-or-unfill)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user