If you’re interested to use it, I’d love to understand
What hot-keys would you assign for UP and DOWN?
Where/how in your workflow would this be useful?
Let me know what you think!
Alexis
PS: “Blocks” are, in this version anything that has a newline above and below. So, it’s NOT context-aware of nested blocks like “H1 -> H2 -> H3 -> Paragraph” – and I’m actually liking it much more this way. Weirdly, for me, it’s easier to use even though “less smart.”
@akaalias I’d definitely love to use that! My purpose would be moving tasks in task list. Probably I’d change it a bit to focus on lines with sub-items, but I would love to see the basic principle you’re using.
I just use the swap line up and swap line down commands (I have them bound to hotkeys). Despite the name, these commands actually move the entire selected text up or down a line. So, basically, for the function this plugin does, I would just select the paragraph and then either drag and drop the text, or hold my hotkey(s) to move it until it’s where I want. It does look a bit weird as it goes “through” other blocks, but that’s not a big deal.
I actually can’t see myself moving blocks of exactly one paragraph often enough to want to dedicate hotkeys for it, though. Most of the time that I’m moving stuff it’s either one line of an outline/list, or else It’s big enough I’d rather select or fold before moving.
For sections, I go to the header line, hit my hotkey for “toggle fold on current line”, select the line, and then use my swap up/down keys to drag the whole section up or down, or maybe just use the mouse, depending on what I’m doing at that moment.