Local leader bound to comma
I thought that I would use Evil's , as a backward's search, and got rid of Spacemacs approach to having the , as a local leader. Well, a year later, I can't remember ever using the comma for that reason. So I'm converting back.
This commit is contained in:
parent
623aa30bc1
commit
a80bd6d068
8 changed files with 10 additions and 10 deletions
|
@ -519,7 +519,7 @@ I'm not trying an experiment where specially-placed function keys on my fancy er
|
|||
|
||||
(general-create-definer ha-local-leader
|
||||
:states '(normal visual motion)
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC"))
|
||||
#+end_src
|
||||
|
|
|
@ -644,21 +644,21 @@ In /Emacs/ mode, we can just call =define-key=, but since it starts in Evil stat
|
|||
(general-create-definer ha-mail-hello-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'notmuch-hello-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
|
||||
(general-create-definer ha-mail-search-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'notmuch-search-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
|
||||
(general-create-definer ha-mail-show-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'notmuch-show-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -123,7 +123,7 @@ Let's create a leader for this mode:
|
|||
(general-create-definer ha-irc-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps '(erc-mode-map)
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -57,7 +57,7 @@ One other helper routine is a =general= macro for org-mode files:
|
|||
(general-create-definer ha-org-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'org-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -53,7 +53,7 @@ Let’s create a keybinding menu of Clojure-related commands:
|
|||
(general-create-definer ha-clojure-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'clojure-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -30,7 +30,7 @@ The critical part of Python integration with Emacs is running LSP in Python usin
|
|||
(general-create-definer ha-python-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'python-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -135,7 +135,7 @@ Ruby-specific commands are attached to the =ha-ruby-leader=, bound to ~SPC m~:
|
|||
(general-create-definer ha-ruby-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'ruby-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
|
@ -29,7 +29,7 @@ Seems that all programming interfaces and workflows behave similarly. One other
|
|||
(general-create-definer ha-prog-leader
|
||||
:states '(normal visual motion)
|
||||
:keymaps 'prog-mode-map
|
||||
:prefix "SPC m"
|
||||
:prefix ","
|
||||
:global-prefix "<f17>"
|
||||
:non-normal-prefix "S-SPC")
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue