Skip to content

Instantly share code, notes, and snippets.

@kebalicious
Created January 26, 2021 20:18
Show Gist options
  • Save kebalicious/0a10c53c279802b495c0e408d737e30b to your computer and use it in GitHub Desktop.
Save kebalicious/0a10c53c279802b495c0e408d737e30b to your computer and use it in GitHub Desktop.
Delete multiple line based on search result
1. Ctrl-F / Cmd-F to open find.
2. Paste your string.
3. Alt-Enter to select all of the instances of the string on the page.
4. Ctrl-L / Cmd-L to broaden the selection to the entire line of each instance on the page.
5. Ctrl-Shift-K / Cmd-Shift-K / Delete / Backspace to remove those lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment