22 ms·
In VSCode anytime you have text selected you can alt+up/down to move the whole selection (or current line if no selection) up/down one line. I assume STs "swap
by dr_zoidberg 6y ago
In VSCode anytime you have text selected you can alt+up/down to move the whole selection (or current line if no selection) up/down one line. I assume STs "swap line up/down" works the same.
Is that different from your "block mover" idea? I mean, if I select the paragrap I want to move and use it it sounds similar, thought it'd happen one line at a time, and I understand you'd mean to move it "whole blocks" at a time.
But probably a plugin can be made to achieve that behavior.
- bbx 6y agoYes, ST works like VSCode in that regard. It works well with paragraphs and headings because they fit on one line (so 1 line = 1 block), but I'd like to be able to move whole multiline blocks, like lists, code blocks, and paragraphs that have line breaks. Also, for the empty lines that separate blocks, I need to move them as well (or select them as part of the block). But yes, the current feature is very close to what I'd like. The other part of my tweet though (about being able to move between 2 columns or files) is trickier.