> now find JUNK and replace 'a1' with 'A1' in the 15 lines that follow
The real scenario is usually to replace, for example, in a function block. How do you do that? Counting function lines seems like a non-starter.
The real scenario is usually to replace, for example, in a function block. How do you do that? Counting function lines seems like a non-starter.
I believe this is an area where treesitter can help, so I'm looking forward to Neovim's integration.
Of course Vim can replace a function block easily and has been able to do so for decades.