Any examples of lsp-mode
and Meow?
#392
-
I looked around for a bit and I was wondering if there are any configs out there that show meow working with lsp-mode. Preferably using the As I'm a beginner with Meow I'm not entirely sure how to do the mappings only while lsp-mode is active. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hey, here is my configuration about https://github.com/DogLooksGood/meomacs/blob/master/programming.org#lsp-mode The default leader dispatch is
|
Beta Was this translation helpful? Give feedback.
-
I'm having trouble as well with writing good elisp and my keybindings. For global operations using the leader key, I currently have the following elisp: (meow-leader-define-key
;; SPC j/k will run the original command in MOTION state.
'("j" . "H-j")
'("k" . "H-k")
'("fs" . save-buffer)
'("ff" . find-file)
'("bb" . switch-to-buffer)
'("bs" . scratch-buffer)
'("bd" . kill-this-buffer)
'("wv" . split-window-vertically)
'("ws" . split-window-horizontally)
'("ww" . next-window-any-frame)
'("wq" . delete-window)
'("eb" . eval-buffer)
'("qr" . restart-emacs)
;; etc But how do I make this more elegant, and make it work with which-key? Define a keymap? but then I don't know how to use it with which-key still :(. |
Beta Was this translation helpful? Give feedback.
Hey, here is my configuration about
lsp-mode
. I didn't remap actually, just useSPC c l
.https://github.com/DogLooksGood/meomacs/blob/master/programming.org#lsp-mode
The default leader dispatch is
mode-specific-map
. To haveSPC l
forC-c l
, you can add this