Reputation: 3506
I am not sure if this possible. I am just checking to see if it is.
Is there a way to delete everything to the right of whatever I select in Sublime Text ?
Upvotes: 3
Views: 3869
Reputation: 45
As Mauricio stated, after using + D to add multiple cursors, + K (twice) should do it. This will delete anything to the right of the cursor. To delete to the left of the cursor, select + K, followed by + .
Upvotes: 2
Reputation: 153
When you select "//" using Command + D adding a cursor to each element found (like you did) you can use Command + Shift + Arrow Right to select the text between the cursor and the end of the line then you can delete the selected text.
Upvotes: 4