[Emacs] Update keybinds

`SPC e' is now dedicated to flyspell and errors-related functions.

Email keybinds move from `SPC e' to `SPC a e', and elfeed moves from
`SPC a e' to `SPC a E'
This commit is contained in:
Lucien Cartier-Tilet 2021-12-12 15:04:35 +01:00
parent 5a5725fec9
commit b8ef56942e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -6677,7 +6677,7 @@ Undefining some stuff to make keybind prefixes work correctly.
"c" '(:ignore t :wk "code") "c" '(:ignore t :wk "code")
"cl" #'evilnc-comment-or-uncomment-lines "cl" #'evilnc-comment-or-uncomment-lines
<<general-keybindings-gen(table=keybinds-email, prefix="e")>> <<keybindings-flycheck>>
<<general-keybindings-gen(table=keybinds-files, prefix="f")>> <<general-keybindings-gen(table=keybinds-files, prefix="f")>>
<<keybinds-specific-files>> <<keybinds-specific-files>>
@ -6715,8 +6715,10 @@ Here are my apps keybinds. Each one of them is prefixed by ~a~.
| | | apps | | | | apps |
| c | calc | | | c | calc | |
| d | docker | | | d | docker | |
| e | elfeed | | | E | elfeed | |
| E | eww | | | e | | email |
| c | mu4e-compose-new | |
| ee | mu4e | |
| k | keycast-mode | | | k | keycast-mode | |
| K | keycast-log-mode | | | K | keycast-log-mode | |
| T | tetris | | | T | tetris | |
@ -6750,17 +6752,29 @@ My buffer-related keybinds are all prefixed by ~b~.
| r | counsel-buffer-or-recentf | | | r | counsel-buffer-or-recentf | |
| s | switch-to-scratch-buffer | | | s | switch-to-scratch-buffer | |
** Email ** Errors
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Keybindings-Email-gv0ltxp0baj0 :CUSTOM_ID: Keybindings-Email-gv0ltxp0baj0
:END: :END:
My two keybinds for my emails are prefixed by ~e~. #+begin_src emacs-lisp
#+name: keybinds-email (defhydra hydra-flycheck
| Key | Function | Description | (:pre (flycheck-list-errors)
|-----+------------------+-------------| :post (quit-windows-on "*Flycheck errors*")
| | | email | :hint nil)
| c | mu4e-compose-new | | ("f" flycheck-error-list-set-filter "Filter")
| m | mu4e | | ("t" flycheck-next-error "Next")
("s" flycheck-previous-error "Previous")
("gg" flycheck-first-error "First")
("G" (progn (goto-char (point-max)) (flycheck-previous-error)) "Last")
("q" nil))
#+end_src
#+name: keybindings-flycheck
#+begin_src emacs-lisp :tangle no
"e" '(:ignore t :which-key "errors")
"e." '(hydra-flycheck/body :wk "hydra")
"ee" '(:keymap flycheck-command-map :wk "flycheck")
#+end_src
** Files ** Files
:PROPERTIES: :PROPERTIES: