Browse Source

moved general higher up in loading order

master
Marc 1 year ago
parent
commit
31c96bca47
1 changed files with 11 additions and 8 deletions
  1. 19
      config.org

19
config.org

@ -382,6 +382,14 @@ e.g. python-mode with just "π ".
(prog-mode . rainbow-delimiters-mode))
#+END_SRC
* General (key mapper)
Needs to be loaded before any other package which uses the :general keyword
#+BEGIN_SRC emacs-lisp
(use-package general
:ensure t)
#+END_SRC
* Bookmarks
Usage:
- C-x r m (bookmark-set): add bookmark
@ -488,12 +496,6 @@ Exclude some dirs from spamming recentf
(setq save-abbrevs 'silently)) ;; don't bother me with asking for abbrev saving
#+end_src
* General (key mapper)
#+BEGIN_SRC emacs-lisp
(use-package general
:ensure t)
#+END_SRC
* imenu-list
A minor mode to show imenu in a sidebar.
Call imenu-list-smart-toggle.
@ -509,11 +511,11 @@ Exclude some dirs from spamming recentf
imenu-list-position 'right)
:general
([f9] 'imenu-list-smart-toggle)
(:states 'normal
(:states '(normal insert)
:keymaps 'imenu-list-major-mode-map
"RET" '(imenu-list-goto-entry :which-key "goto")
"TAB" '(hs-toggle-hiding :which-key "collapse")
"d" '(imenu-list-display-entry :which-key "show")
"v" '(imenu-list-display-entry :which-key "show") ; also prevents visual mode
"q" '(imenu-list-quit-window :which-key "quit"))
:custom
(org-imenu-depth 4))
@ -525,6 +527,7 @@ https://github.com/noctuid/evil-guide
Use C-z (evil-toggle-key) to switch between evil and emacs keybindings,
in case evil is messing something up.
#+BEGIN_SRC emacs-lisp
(use-package evil
:ensure t

Loading…
Cancel
Save