You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPC b b does not switch to insert mode the same way SPC x SPC b (for example only, see later issue) would or similar to how SPC SPC (in my config for execute-extended-command) does.
Secondly, calling SPC x SPC b actually starts my-buffer-prefix-keymap instead of the listed command (switch-buffer).
The text was updated successfully, but these errors were encountered:
The leader key definition is only for simple leader keymap. It's a simple translation for commands under mode-specific-map. Usually you can define the keys just as you do it without meow, then use keypad to execute.
In your case, it should be
(defvar-keymap my-buffer-prefix-keymap ...)
(define-key global-map (kbd "C-c b) my-buffer-prefix-keymap)
or even better
(defvar-keymap my-buffer-prefix-keymap ...)
(defalias 'my-buffer-prefix-keymap my-buffer-prefix-keymap) ;; assign the keymap to a symbol
(define-key global-map (kbd "C-c b) 'my-buffer-prefix-keymap) ;; <- we use the symbol here
meow-leader-define-key is not necessary, the vanilla approach is recommended.
With a config like:
SPC b b
does not switch to insert mode the same waySPC x SPC b
(for example only, see later issue) would or similar to howSPC SPC
(in my config for execute-extended-command) does.Secondly, calling
SPC x SPC b
actually starts my-buffer-prefix-keymap instead of the listed command (switch-buffer).The text was updated successfully, but these errors were encountered: