Integrating combobulate with meow #448
-
Hi, This article on combobulate mentions having support for mutliple-cursors package. How are meow users thinking about integrating multiple cursors with combobulate? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
There's always an integration possibility. But I won't say multiple-cursors is good for meow, since we embrace kmacros. As for tree-sitters and structure editing, we can either build our own meow state based on tree-sitter itself, or leave users to create their own dedicated state for modes like combobulate. Meow has no parentheses and structure editing features builtin, there are so many options available. |
Beta Was this translation helpful? Give feedback.
-
Some (non)inspiration: |
Beta Was this translation helpful? Give feedback.
-
If anyone is interested on this, I think I got a nice set-up for structured navigation, using (use-package meow-helpers
:config
(meow-normal-define-key
'("H" . backward-sexp)
'("J" . down-list)
'("K" . backward-up-list)
'("L" . forward-sexp)
'("S" . kill-sexp)
'("t" . meow-transpose-sexp)
)) (use-package combobulate
:bind
(
:map combobulate-key-map
([remap backward-up-list] . combobulate-navigate-up)
([remap down-list] . combobulate-navigate-down)
([remap forward-sexp] . combobulate-navigate-next)
([remap backward-sexp] . combobulate-navigate-previous)
([remap transpose-sexp] . combobulate-transpose-sexps)
([remap kill-sexp] . combobulate-kill-node-dwim)
)) EDIT: My source of inspiration was this blog post by karthink. |
Beta Was this translation helpful? Give feedback.
There's always an integration possibility. But I won't say multiple-cursors is good for meow, since we embrace kmacros.
As for tree-sitters and structure editing, we can either build our own meow state based on tree-sitter itself, or leave users to create their own dedicated state for modes like combobulate. Meow has no parentheses and structure editing features builtin, there are so many options available.