3 ms·
My list of “minimal features I need from a text editor” has grown over the years, to include things like multi-caret edit. It’s amazing how something conceptual
by two_handfuls 3y ago
My list of “minimal features I need from a text editor” has grown over the years, to include things like multi-caret edit. It’s amazing how something conceptually as simple as “editing text” has grown so powerful and complex over the years.
This one looks good, hopefully the default keybindings match the ones already wired in my brain.
- jdthedisciple 3y agoWhadda u use multi caret for?
- Eisenstein 3y agoChanging multiline tabs in python.
- mixmastamyk 3y agoWhat does that mean? If it means indenting several lines almost every editor supports that with a selection and tab key.
- Eisenstein 3y agoCould explain what you mean by that?
- mixmastamyk 3y agoYou select the lines, then hit the tab key. All lines are indented, rather than being replaced by a tab character.
- Eisenstein 3y agoHow you remove the tabs? Hitting backspace would clear the selected lines.
- jdthedisciple 3y agoShift + Tab
- two_handfuls 3y agoWell today it was “add a comma at the end of every line in this block” and “replace this word and the next instance of it with this other word”. It’s just nice to be able to select a bunch of stuff (multiple ways to do that) and then do the same thing to all selections at once (including things like arrow keys to move all the carets at once).
- subjectsigma 3y agoWhat DON’T you use multiple cursors for?? - formatting lists - renaming (sets of) variables - changing function signatures - turning lists into commands (eg git status > copy list of modified files > cursor at beginning of line > black … > paste back into terminal) It’s incredibly useful, and significantly more intuitive (for me) than writing a macro or a regex replace