Is there a quick way to move to the last instance of a given character in the current line? For example, go to the last close paren in the line. I don't want to type f)
fifteen times to go there, and using / isn't restricted to the current line (I'm writing in Scheme).
You can type f<character> to put the cursor on the next character and F<character> for the previous one. You can also use ; to repeat the operation and use , to repeat it in opposite direction.
Example. To jump back to line # 300 or previous position press CTRL-O (press and hold Ctrl key and press letter O). To jump back forwards press CTRL-I (press and hold Ctrl key and press letter I).
Press Ctrl-O to jump back to the previous (older) location. Press Ctrl-I (same as Tab) to jump forward to the next (newer) location.
Just do:
$F)
$
to jump to the end of the line,F)
to jump to the first )
backward.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