2

I wanted to map ' to " because I think both ` and ' does the same thing. But I don't want to shadow anything without knowing properly. So, any differences between ` and '?

1 Answer 1

5

' jumps to the start of a line where the mark is set, whereas ` jumps directly to the specific character.

Personally, I find that I use ' far more frequently than `, in part because it's easier to reach, but mostly because it means I don't have to care (or try to remember) precisely where within the line I set marks.

2
  • As documented in the first lines of :h mark-motions
    – statox
    Apr 12, 2019 at 10:30
  • Now that you mention it, I remember reading it. That's why I started using tick instead of quote in the first place. But it's not that important for me, so I forgot.
    – 3N4N
    Apr 12, 2019 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.