Closed vibrog closed 3 years ago
The functionality already exists. Bind todotxt-transpose-lines-up
/ -down
. For example, using use-package
you could load todotxt-mode
like this:
(use-package todotxt
:bind
("C-c t" . todotxt)
(:map todotxt-mode-map
("M-<up>" . todotxt-transpose-lines-up)
("M-<down>" . todotxt-transpose-lines-down)))
Sorry! I've just realised this was implemented since your comment.
It probably makes sense to include "M-
Thanks, exactly the functionality I asked for.
I'd like to have shortcuts to move the currently highlighted tasks up or down. Similar to move-text.