To substitute, what’s the proper range format for current cursor position to end of file?
I believe cursor is . and end of file will be $.
To substitute, what’s the proper range format for current cursor position to end of
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sorry if I’m misinterpreting, but if you want to do a replace from the current line until the end of the file, you can do:
As @PeterRincker mentions, the current line can be considered implicit, meaning that you can also use:
To achieve the same result.