Reputation: 1372
I have a massive file full of SQL statements and I would like to delete half of them to reduce the amount of insert statements to make the data more manageable. How can I delete all lines above the line which my cursor is in (or using a range of line numbers)?
Upvotes: 0
Views: 1807
Reputation: 79022
Basic text editing shortcuts:
CTRL + SHIFT + HOME to select all from current cursor to start of document.
Delete or Backspace to delete.
Upvotes: 4