Multiple Cursors for Selection

#1 Multiple Cursors for Selection

cursor, selection, refactoring

Press Alt+J to add a new cursor to the next occurrence of the word currently under the cursor, or the current selection. Repeat to keep adding more cursors.

Press Shift+Alt+J to remove the last cursor that was added.

Mac Keys

Press Ctrl+G to add a new cursor.
Press Shift+Ctrl+G to remove the last cursor.

Further Reading

Related Tips

Blog Comments powered by Disqus.