0

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

0

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:

keymap/{keymap}_{encoding}.vim
keymap/{keymap}.vim

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 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 at 16:17

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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