column edit mode multi-line edit like vscode?

About the only feature of vs code that I like is the way it handles multi-line editing.  In vs code, if I do alt+shift+up arrow (or down), it will enable multi-line edits on each line I arrow to.  In php storm I have to specifically turn on column edit mode, then shift+up to add multiple lines.  Then specifically turn it off to go back to normal shift select.

Is there any way to enable vs code's way of editing?  Or maybe a plugin that people like?  Hopefully I've explained this correctly.

0

Hi there,

Press Ctrl then release, then press Ctrl again and hold and use Up/Down keys.

You can also assign convenient for you shortcuts for "Clone Caret Above/Below" actions on "Settings/Preferences | Keymap" screen.

 

0

Andriy Bazanov - Thanks!  That got me to where I wanted to go.  Since I almost never use the keyboard to move lines up and down (by default alt+shift+arrow on windows) I just remapped the clone caret commands.

If anyone else finds this, here is exactly what worked for me on windows 11 in 2023:

1.  ctrl+shift+a to bring up the actions dialog
2.  type in clone caret
3.  highlight Clone Caret Above
4.  type alt+enter to edit the keyboard shortcut
5.  use alt+shift+up arrow
6.  replace the existing keyboard mapping
7.  highlight Clone Caret Below
8.  alt+enter to edit the keyboard shortcut
9.  use alt+shift+down arrow
10. replace existing keyboard mapping

Ok to everything and close out.

Thanks again!  Never would have thought of clone caret. 

0

请先登录再写评论。