|
@ -382,6 +382,14 @@ e.g. python-mode with just "π ". |
|
|
(prog-mode . rainbow-delimiters-mode)) |
|
|
(prog-mode . rainbow-delimiters-mode)) |
|
|
#+END_SRC |
|
|
#+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 |
|
|
* Bookmarks |
|
|
Usage: |
|
|
Usage: |
|
|
- C-x r m (bookmark-set): add bookmark |
|
|
- 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 |
|
|
(setq save-abbrevs 'silently)) ;; don't bother me with asking for abbrev saving |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
* General (key mapper) |
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
|
(use-package general |
|
|
|
|
|
:ensure t) |
|
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
* imenu-list |
|
|
* imenu-list |
|
|
A minor mode to show imenu in a sidebar. |
|
|
A minor mode to show imenu in a sidebar. |
|
|
Call imenu-list-smart-toggle. |
|
|
Call imenu-list-smart-toggle. |
|
@ -509,11 +511,11 @@ Exclude some dirs from spamming recentf |
|
|
imenu-list-position 'right) |
|
|
imenu-list-position 'right) |
|
|
:general |
|
|
:general |
|
|
([f9] 'imenu-list-smart-toggle) |
|
|
([f9] 'imenu-list-smart-toggle) |
|
|
(:states 'normal |
|
|
|
|
|
|
|
|
(:states '(normal insert) |
|
|
:keymaps 'imenu-list-major-mode-map |
|
|
:keymaps 'imenu-list-major-mode-map |
|
|
"RET" '(imenu-list-goto-entry :which-key "goto") |
|
|
"RET" '(imenu-list-goto-entry :which-key "goto") |
|
|
"TAB" '(hs-toggle-hiding :which-key "collapse") |
|
|
"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")) |
|
|
"q" '(imenu-list-quit-window :which-key "quit")) |
|
|
:custom |
|
|
:custom |
|
|
(org-imenu-depth 4)) |
|
|
(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, |
|
|
Use C-z (evil-toggle-key) to switch between evil and emacs keybindings, |
|
|
in case evil is messing something up. |
|
|
in case evil is messing something up. |
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
#+BEGIN_SRC emacs-lisp |
|
|
(use-package evil |
|
|
(use-package evil |
|
|
:ensure t |
|
|
:ensure t |
|
|