I want to select the code from line 300 to line 44000 to be deleted, how I can do that?
Deleting code from line to line
Surya
#2
-
ctrl+g
goto line 300 - set mark
cmd+k cmd+space
-
ctrl+g
goto line 44000 - select to mark
cmd+k cmd+a
- hit
delete/backspace
0 Likes
Pinteresting
#3
when i press ctrl+g a box shows up, do I need to enter something there? and when I go to line 300 do I need to put my mouse on the line?
0 Likes
diek
#5
I realize this is an old post but recently I needed to do exactly what the OP posted, and the above did not work. It manually took a long time to remove the content
0 Likes
deathaxe
#6
Proposed solution still works in ST4200.
Note it using MacOS specific key bindings.
On Linux/Windows ctrl
modifier is used to set a mark and select text to mark.
-
ctrl+g
goto line 300 - set mark
ctrl+k ctrl+space
-
ctrl+g
goto line 44000 - delete to mark
ctrl+k ctrl+w
Otherwise a plugin is possibly overriding default key bindings.
1 Like