In Notepad++, I'm used to using Alt+Shift+↑/↓/←/→ to put expand the cursor across multiple lines in a vertical line or rectangular selection. I think Visual Studio does something similar.
I'm trying Sublime and Atom instead. Ctrl+D, Ctrl+click, and Alt+click + drag are very cool, but I miss using the arrow keys to make my vertical selections.
Is there a way to do vertical/rectangle selects in Sublime Text 3 or Atom with the arrow keys? I'm open to installing packages.
Example
Say I have this (
│
represents the cursor, ignore the spaces in that column):x = os│.join(a, b)
y = os .join(b, c)
z = os .join(c, d)I realize I forgot the module name, so I hit Alt+Shift+↓+↓ and have:
x = os│.join(a, b)
y = os│.join(a, b)
z = os│.join(a, b)I type
.path
and now I have:x = os.path│.join(a, b)
y = os.path│.join(a, b)
z = os.path│.join(a, b)
I'd like to do the second step in Sublime Text 3 or Atom.
No comments:
Post a Comment