I need to load a particular keymap file that enables me to write underscore, special characters by typing

:set keymap=iast 

where iast.vim is my keymap file

This no longer works. Where should this file reside.

I use the mac and my vim package is updated by homebrew


According to the docs (:help mbyte-keymap):

The value of the 'keymap' option specifies a keymap file to use. The name of this file is one of these two:


I would expect $HOME/.vim/keymap/iast.vim.

  • Thanks! That worked. In the past on my linux machines, I used to place the iast.vim in the system directories (somewhere inside /usr/local) where vim was installed.
    – jayr
    Feb 10 '19 at 14:45
  • Theoretically you ought to be able to place it anywhere on the runtime path, but users tend to prefer ~/.vim for custom stuff.
    – D. Ben Knoble
    Feb 10 '19 at 16:17

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.