I'm using Vim 7.4.1825, huge version without GUI on OSX.

When I start Vim with Vim -u NONE, navigating to mark a - set with 'a - is not working. Every other mark (b-z) is working well, only jump to mark a is not possible. I can see with :marks that a bar foo is set, but I cannot jump to it. Is there a explanation for this behavior?

  • 1
    How do you jump to that mark?
    – romainl
    May 9, 2016 at 7:33
  • @romainl With 'a or `a ... both not working.
    – oliver
    May 9, 2016 at 7:46
  • Isn't it simply a plugin or a config which remaps 'a? You can check with :nmap.
    – statox
    May 9, 2016 at 8:04
  • 5
    Also, does :normal! 'a work?
    – romainl
    May 9, 2016 at 8:09
  • 6
    Does it still work when you remove the bang :normal 'a? If not, then maybe a mapping is interfering as @statox said (look at :verb nmap 'a). Otherwise, maybe something is intercepting the keystrokes 'a before Vim (your terminal emulator, your window manager, ...). See in their configuration if 'a is not already bound to some function. May 9, 2016 at 10:47

1 Answer 1


This is possibly an issue with dead keys, a way of using a "regular" keyboard to provide a way to generate diacrtics such as: á, í, or ó.

One way to test this would be to enter 'a in your terminal proper (rather than vim within your terminal) and see what character is produced.

If it does produce a diacritic, that means the terminal may well be getting to the keyboard stream before vim does, and all vim will see is the diacritic rather than the expected key sequence.

If that is the case, you could opt to switch to another terminal which better allows you to control this, or there is at least one solution here which sneakily map the diacritic back into the correct key sequence that vim will process.

Your Answer

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

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