2 Comments
Apr 19, 2020Liked by Colin Bartlett

You did not mention *, #, or ^L or ^R^W, so I will. Click on the string you want to search for, then press * or # to start a forward or reverse search using the current word! Pressing control L adds letters from the edited file to your search pattern while ^R^W adds the entire next trailing word. As you indicated ^g & ^t can be used to navigate before completing the search command.

Expand full comment

Didn't work for me. Vim was just adding ^G and ^T after search pattern. So maybe this trick requires some customization. Although using 'n' to search forward and 'N' to search backwards helped.

Expand full comment