I want to delete mutiline word with sublime-text.
e.g. I want to delete all the line number (there are line numbers because I paste the code from somewhere) as follow:
To select multiple regions using the keyboard, select a block of text, then press Ctrl+Shift+L to split it into one selection per line. When you're done with using multiple selections, just press Ctrl+K to trim all but the first.
Find All. To add all occurrences of the current word to the selection, use Find All: Windows/Linux: Alt+F3. Mac: ⌃+⌘+G.
To quickly delete a line in your code, place your cursor anywhere in the line and hit Ctrl–Shift–K (Mac and Windows).
Use column edit mode to remove them: http://www.sublimetext.com/docs/2/column_selection.html
Select with Right Mouse Button + Shift
OR
Select with Middle Mouse Button
Press CTRL for add to selection
Press ALT for subtract from selection
CTRL + ALT + Up
CTRL + ALT + Down
You can also search and replace using regular expressions. The following is tested in the Windows-version:
^[\d]+
in the Find What field to select any digits in the beginning of all lines.(Search for ^[\w]+
if you want to select the first word instead of only digits)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With