I use vim's f command all the time, but I can't figure out how to find special characters (like tabs). E.g., hitting f\t
searches for \
. I know you can use digraphs in conjunction with the f
command, but I don't think there is a digraph for the tab character.
Searching for the Tab Character In NORMAL mode, type /\t and hit <Enter> . It will search for the Tab character ( \t ) and highlight the results.
If you press "F", Vim will move the cursor backwards instead of forward. Given the previous sentence, if pressed "Fq", and the cursor was at the end of the line, it would move to the "q" in "quick".
Press n to search for the next occurrence or uppercase N to search in the opposite direction.
Just type f and then hit the Tab key.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With