Delete selection vertically leaving rest of line in place
-
I have a long file and want to delete characters leaving the other characters on the row in place and moving characters from next rows up. eg: Deleting first two characters on third line.
11111111
22222222
33333333
44444444
55555555
66666666becomes
11111111
22222222
44333333
55444444
66555555
666666 -
- delete your characters
- put the cursor into the next line, press and hold shift+alt
- click with the mouse into the position of the last line holding the data to be move
- ctrl+x
- go up to the line with the initial delete chars
- ctrl+v
Took longer this to write than to do.
Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login