Commit fbd690220569

Vincent Demeester <vincent@sbr.pm>
2020-06-11 11:25:48
tools/emacs: move imenu to navigating…
… because it's about navigation.. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f042c7f
Changed files (3)
tools/emacs/config/config-editing.el
@@ -254,39 +254,5 @@ instead.  This command can then be followed by the standard
   :commands (htmlize-paste-it)
   :bind ("C-c e p" . htmlize-paste-it))
 
-(use-package imenu
-  :config
-  (setq-default imenu-use-markers t
-                imenu-auto-rescan t
-                imenu-auto-rescan-maxout 600000
-                imenu-max-item-length 100
-                imenu-use-popup-menu nil
-                imenu-eager-completion-buffer t
-                imenu-space-replacement " "
-                imenu-level-separator "/")
-
-  (defun prot/imenu-vertical ()
-    "Use a vertical Icomplete layout for `imenu'.
-Also configure the value of `orderless-matching-styles' to avoid
-aggressive fuzzy-style matching for this particular command."
-    (interactive)
-    (let ((orderless-matching-styles    ; make sure to check `orderless'
-           '(orderless-literal
-             orderless-regexp
-             orderless-prefixes)))
-      (icomplete-vertical-do (:height (/ (frame-height) 4))
-        (call-interactively 'imenu))))
-
-  :hook ((imenu-after-jump-hook . (lambda ()
-                                    (when (and (eq major-mode 'org-mode)
-                                               (org-at-heading-p))
-                                      (org-show-entry)
-                                      (org-reveal t)))))
-  :bind ("C-'" . prot/imenu-vertical))
-
-(use-package flimenu
-  :config
-  (flimenu-global-mode 1))
-
 (provide 'config-editing)
 ;;; config-editing.el ends here
tools/emacs/config/config-navigating.el
@@ -46,5 +46,39 @@
   (setq-default dumb-jump-use-visible-window t
                 dumb-jump-prefer-searcher 'rg))
 
+(use-package imenu
+  :config
+  (setq-default imenu-use-markers t
+                imenu-auto-rescan t
+                imenu-auto-rescan-maxout 600000
+                imenu-max-item-length 100
+                imenu-use-popup-menu nil
+                imenu-eager-completion-buffer t
+                imenu-space-replacement " "
+                imenu-level-separator "/")
+
+  (defun prot/imenu-vertical ()
+    "Use a vertical Icomplete layout for `imenu'.
+Also configure the value of `orderless-matching-styles' to avoid
+aggressive fuzzy-style matching for this particular command."
+    (interactive)
+    (let ((orderless-matching-styles    ; make sure to check `orderless'
+           '(orderless-literal
+             orderless-regexp
+             orderless-prefixes)))
+      (icomplete-vertical-do (:height (/ (frame-height) 4))
+        (call-interactively 'imenu))))
+
+  :hook ((imenu-after-jump-hook . (lambda ()
+                                    (when (and (eq major-mode 'org-mode)
+                                               (org-at-heading-p))
+                                      (org-show-entry)
+                                      (org-reveal t)))))
+  :bind ("C-'" . prot/imenu-vertical))
+
+(use-package flimenu
+  :config
+  (flimenu-global-mode 1))
+
 (provide 'config-navigating)
 ;;; config-navigating.el ends here
users/vincent/dev/mr/src.github.openshift.mr
@@ -1,6 +1,7 @@
 include = cat ${HOME}/.config/mr
 
 [DEFAULT]
+skip = true
 lib =
     export BASE_HOST="github.com"
     export GIT_BASE="github.com:"