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 '?


' 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.

  • As documented in the first lines of :h mark-motions
    – statox
    Apr 12 '19 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.
    – kadekai
    Apr 12 '19 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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