Skip to content

Duplicate line: preserve cursor position#4080

Open
bibainet wants to merge 1 commit intomicro-editor:masterfrom
bibainet:master
Open

Duplicate line: preserve cursor position#4080
bibainet wants to merge 1 commit intomicro-editor:masterfrom
bibainet:master

Conversation

@bibainet
Copy link
Copy Markdown
Contributor

This PR changes the behavior of DuplicateLine command (Ctrl-d).
The cursor position now remains in its original place, allowing you to avoid losing input focus.
This is implemented in a similar way in some other text editors, ex. VSCode, Notepad++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant