summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-05 16:53:36 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-05 16:53:36 -0500
commit3ffa47326264a6ff513936f36131b4003966115e (patch)
treed0edad475809d08d0f46585fa48fcd3b259e2890
parent037935edac213e954e5ecd870510463295495dae (diff)
downloadconfigs-3ffa47326264a6ff513936f36131b4003966115e.tar.gz
configs-3ffa47326264a6ff513936f36131b4003966115e.tar.xz
configs-3ffa47326264a6ff513936f36131b4003966115e.zip
[emacs] make outline bindings not overlap, bindings for flycheck
-rw-r--r--init.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.org b/init.org
index 5df8479..5d760c8 100644
--- a/init.org
+++ b/init.org
@@ -972,8 +972,8 @@ There's no way I could top that, so I won't attempt to.
(:map
outline-minor-mode-map
("<s-tab>" . outline-toggle-children)
- ("s-p" . outline-previous-visible-heading)
- ("s-n" . outline-next-visible-heading)
+ ("M-p" . outline-previous-visible-heading)
+ ("M-n" . outline-next-visible-heading)
:prefix-map amin--outline-prefix-map
:prefix "s-o"
("TAB" . outline-toggle-children)
@@ -1096,6 +1096,10 @@ TODO: break this giant source block down into individual org sections.
#+begin_src emacs-lisp
(use-package flycheck
:hook (prog-mode . flycheck-mode)
+ :bind
+ (:map flycheck-mode-map
+ ("M-P" . flycheck-previous-error)
+ ("M-N" . flycheck-next-error))
:config
;; Use the load-path from running Emacs when checking elisp files
(setq flycheck-emacs-lisp-load-path 'inherit)