meow
meow copied to clipboard
Feature Request: `meow-line-thing`
Currently, we can customize the things meow uses for words and symbols with meow-word-thing and meow-symbol-thing. Would be useful to be able to customize the line thing as well. The thing I'm thinking about this for is org mode where I could select a heading instead of a line.
I don't really have time to work on this rn, but here's something to get started with -
(defvar meow-line-thing 'line "TODO docstring")
(defun my/meow-line (n)
"TODO docstring"
(interactive "p")
(meow-next-thing meow-line-thing 'line
(if (meow--direction-backward-p)
(- n)
n))
(setcar (car meow--selection) 'expand))
If anyone wants to take this forward into a PR - you need to ensure that this behaves exactly the same as meow-line, then you can replace it with this.