New answers tagged

2

Thanks to the commenters there are two decent options here. Regarding the path I started on, as @D. Ben Knoble intimated, the escaping was important but I used singles around the doubles instead. I also used 'execute' so I could wrap the whole thing as a string. Not sure if that was needed or not? So :cfdo execute 'norm 5GO"status": "not ...


1

<c-w>f is the closest to what I want. There's also Ctrl-WF that accepts line number and it's documented right next to Ctrl-Wf. But I want it to auto update when I move the cursor in the logfile. Of course, you can trap <CursorMoved> and do some stuff automatically, but IMO it always creates more problems than it solves. It is much more natural ...


Top 50 recent answers are included