Consistency for local leader actions
Both M-SPC as well as the F17 function key for accessing the mode-specific stuff. Granted, I need to flesh those out more.
This commit is contained in:
parent
21a767e4cf
commit
a79a8651b0
3 changed files with 9 additions and 3 deletions
|
@ -355,7 +355,9 @@ I'm not trying an experiment where specially-placed function keys on my fancy er
|
||||||
|
|
||||||
(general-create-definer ha-local-leader
|
(general-create-definer ha-local-leader
|
||||||
:states '(normal visual motion)
|
:states '(normal visual motion)
|
||||||
:prefix "SPC m"))
|
:prefix "SPC m"
|
||||||
|
:global-prefix "<f17>"
|
||||||
|
:non-normal-prefix "M-SPC"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Top-Level Operations
|
*** Top-Level Operations
|
||||||
Let's try this general "space" prefix by defining some top-level operations, including hitting ~space~ twice to bring up the =M-x= collection of functions:
|
Let's try this general "space" prefix by defining some top-level operations, including hitting ~space~ twice to bring up the =M-x= collection of functions:
|
||||||
|
|
|
@ -53,7 +53,9 @@ One other helper routine is a =general= macro for org-mode files:
|
||||||
(general-create-definer ha-org-leader
|
(general-create-definer ha-org-leader
|
||||||
:states '(normal visual motion)
|
:states '(normal visual motion)
|
||||||
:keymaps 'org-mode-map
|
:keymaps 'org-mode-map
|
||||||
:prefix "SPC m")
|
:prefix "SPC m"
|
||||||
|
:global-prefix "<f17>"
|
||||||
|
:non-normal-prefix "M-SPC")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Initialization Section
|
* Initialization Section
|
||||||
Org is an important part of my Emacs world, and with a lot of customization (even though Spacemacs and Doom do a good job getting things started).
|
Org is an important part of my Emacs world, and with a lot of customization (even though Spacemacs and Doom do a good job getting things started).
|
||||||
|
|
|
@ -32,7 +32,9 @@ One other helper routine is a =general= macro for org-mode files:
|
||||||
(general-create-definer ha-prog-leader
|
(general-create-definer ha-prog-leader
|
||||||
:states '(normal visual motion)
|
:states '(normal visual motion)
|
||||||
:keymaps 'prog-mode-map
|
:keymaps 'prog-mode-map
|
||||||
:prefix "SPC m")
|
:prefix "SPC m"
|
||||||
|
:global-prefix "<f17>"
|
||||||
|
:non-normal-prefix "M-SPC")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* General
|
* General
|
||||||
The following work for all programming languages.
|
The following work for all programming languages.
|
||||||
|
|
Loading…
Reference in a new issue