Consistency and/or configurability of multi-line cursors

Use case or problem

Main 2 issues with multi-line cursors for me right now are:

  1. Alt+Shift that is used for them is a very common keyboard language/layout switch chord that is used extensively on all platforms (other than MacOS), and currently it is not present in the hotkey settings ,so it’s impossible to change to something that doesn’t cause system’s input language to change every time the feature is used.
  2. Behaviour between the multi-line cursors spawned with the mouse (which has the issue above) and keyboard hotkeys is inconsistent. Mouse ones behave predictably and correctly and get placed at the beginning of real lines, meanwhile ones made with keyboard hotkeys are created on the “virtual” lines resulted from the forced word wrap.

In my opinion, placing additional cursors onto virtual lines serves absolutely 0 purpose and is never useful, as multiple cursors are used for bulk editing (such as mass-converting lines into lists or quotes, or backwards, converting pasted text into tables, etc), meanwhile the virtual line’s start and end position are ephemeral and arbitrary and depend on the width of the current editor tab.

Proposed solution

  1. Add hotkey configuration (or, since it’s two modifier keys, maybe at least some selector into settings?) for the placing multiple cursors with the mouse
  2. Make it so when “add cursor above/below” is used - they are placed onto the next line and not next virtual line

Current workaround

  1. Have to manually re-check the current input language every time i had to use the mouse option to work around the unusable state of the keyboard-placed cursors, which is less than ideal.
  2. The only real workaround for when needing to do bulk editing is to open the current note in a new window, move it to the 4k screen and pray that the length of the screen is enough to avoid triggering the forced word wrap so that “add cursor above/below” actually places the cursors onto the next/previous line and not in the arbitrary place on the current real line

Make it so when “add cursor above/below” is used - they are placed onto the next line and not next virtual line

This will be implemented in v1.7.2

Open a separate FR for the other request.

For the future, please open ONE thread per feature request/issue. Don’t add multiple separate requests to one thread.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.