Meta-Space for Global Leader, and Shift-Space for Local

Let's see if this really works for insert mode.
This commit is contained in:
Howard Abrams 2021-12-14 11:42:26 -08:00
parent 59d6f644c1
commit 4a5f426428
4 changed files with 4 additions and 4 deletions

View file

@ -357,7 +357,7 @@ I'm not trying an experiment where specially-placed function keys on my fancy er
:states '(normal visual motion) :states '(normal visual motion)
:prefix "SPC m" :prefix "SPC m"
:global-prefix "<f17>" :global-prefix "<f17>"
:non-normal-prefix "M-SPC")) :non-normal-prefix "S-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:

View file

@ -100,7 +100,7 @@ Let's create a leader for this mode:
:keymaps '(circe-channel-mode-map circe-server-mode-map) :keymaps '(circe-channel-mode-map circe-server-mode-map)
:prefix "SPC m" :prefix "SPC m"
:global-prefix "<f17>" :global-prefix "<f17>"
:non-normal-prefix "M-SPC") :non-normal-prefix "S-SPC")
#+END_SRC #+END_SRC
And a quick shortcut to call it: And a quick shortcut to call it:

View file

@ -55,7 +55,7 @@ One other helper routine is a =general= macro for org-mode files:
:keymaps 'org-mode-map :keymaps 'org-mode-map
:prefix "SPC m" :prefix "SPC m"
:global-prefix "<f17>" :global-prefix "<f17>"
:non-normal-prefix "M-SPC") :non-normal-prefix "S-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).

View file

@ -34,7 +34,7 @@ One other helper routine is a =general= macro for org-mode files:
:keymaps 'prog-mode-map :keymaps 'prog-mode-map
:prefix "SPC m" :prefix "SPC m"
:global-prefix "<f17>" :global-prefix "<f17>"
:non-normal-prefix "M-SPC") :non-normal-prefix "S-SPC")
#+END_SRC #+END_SRC
* General * General
The following work for all programming languages. The following work for all programming languages.