KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a way to specify search and replace range using the current line as a reference? I can specify range using explicit line numbers like :5,15s/foo/bar/g to do the search and replace on only lines 5 to 15. How to specify a range like "from the current line to 10 lines below (or above) the current line"?
Tags (comma-separated)
Save Edits
Cancel