Dmytro Maluka

Results 310 comments of Dmytro Maluka

> I noticed that there is no counterpart for `SkipMultiCursor`. And since this action just changes selections (not text) this cannot be undone via `Undo`. Yeah, it might be good...

@Andriamanitra : > I see the issue now: `autosave` currently only works as a _global_ option, and we only have one global Autosave timer that triggers save on all open...

@Bellavene : > And yes, I don't see the logic in autosave on every change that was made, autosave on exit sounds more logical, when we already have backups. If...

All that said, we may consider adding support for a special value for the `autosave` option, e.g. -1, for autosaving at exit only, without periodic autosaving on timer.

> Constantly having a bunch of timers running & saving potentially dozens of files most of which aren't modified seems pretty wasteful. If micro is saving a file every time...

> And that is what is actually happening (as I've just found), lol. Quick fix: #3356

That is how `Cut` (Ctrl-x) already works: if there is a selection, it deletes the selection, otherwise it deletes the current line, like `DeleteLine` does. BTW I don't quite like...

~~My point is that if we do what you suggest, i.e. make `DeleteLine` respect selections, then `Ctrl-k` will do the same thing as `Ctrl-x`, so then the question is why...

Yeah, good point. Now it seems more useful to me if it deletes the whole first and last lines. (`DuplicateLine` is a slightly different case.)

> You can use Lua to achieve the required deletion. Bind the following to a keyboard shortcut of your choice: > > ```json > "YourKey": "lua:initlua.delsel,SelectLine,Delete", > ``` This is...