careteditor / issues

Caret issues
https://caret.io
326 stars 12 forks source link

Consider using the same keyboard shortcuts for multiline editing as VSCode or Atom #833

Open lensbart opened 5 years ago

lensbart commented 5 years ago

A good day to all caretakers of this project!

Much to my delight, Caret allows users to edit multiple lines of text at the same time via the following shortcuts on macOS:

There doesn’t seem to be a way to put an insertion point on all lines between two clicks, and the above shortcuts differ from Atom and VSCode (and, presumably, other editors).

This suggestion would be an improvement in ease-of-use, and would require less mental overhead for infrequently used shortcuts.

Thanks in advance for your consideration!

macOS Mojave version 10.14 (keyboard layout: AZERTY, Belgian) Caret Beta version 4.0.0-rc21 (4.0.0-rc21)

erusev commented 5 years ago

Hi and good day to you too :)

The ⌃ ⇧ arrow shortcut comes from Sublime Text, but we're working on a new release where the defaults will match the shortcuts of Monaco, which is the editor that VSCode uses so it'll be the same shortcut as in VSC.

There doesn’t seem to be a way to put an insertion point on all lines between two clicks.

I'm not sure I understand this. What's the way to do that in VSCode?

Thanks so much!

lensbart commented 5 years ago

eg

erusev commented 5 years ago

I think we can implement that.

Thanks for the suggestion!

erusev commented 5 years ago

Meanwhile, you can do ⌘⌥ + drag to select multiple lines w/ mouse.