Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete everything to the right of selected text in Sublime Text 3 ?

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 ?

enter image description here

like image 452
iori Avatar asked Nov 25 '25 18:11

iori


1 Answers

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.

like image 75
mauricio Avatar answered Nov 28 '25 15:11

mauricio