Vim Armenian Keymaps ==================== This is a set of Vim keymaps for the Armenian alphabet. The keymaps can be used to type Armenian characters in Insert mode while retaining standard functionality in Normal mode. For more information on Vim keymaps, see `:help mbyte-keymap`. `armenian-eastern_utf-8.vim` and `armenian-western_utf-8.vim` are included in the [Vim source code][1]. The `extra` directory contains additional alternate keymaps. Diagrams of the [Eastern][2] and [Western][3] layouts are available on Wikimedia. This repository is hosted on [git.linskey.org](https://git.linskey.org/vim-armenian-keymaps) and mirrored on [GitHub](https://github.com/blinskey/vim-armenian-keymaps). Requirements and Installation ----------------------------- Your Vim installation must be compiled with the `+keymap` feature. Use `:version` to check which features are available. Your version of Vim may come with the primary keymaps preinstalled. If they are not installed or you'd like to use one of the `extra` keymaps, copy or link your desired keymap(s) to `~/.vim/keymap/` or another location in Vim's runtime path (see `:h runtimepath`). To use a keymap, you’ll need to enable it in your `.vimrc` using the `keymap` option. For example, to use the Western Armenian keymap, ensure that `armenian-western_utf-8.vim` is in your Vim runtime path, then enable the keymap in your `.vimrc`: set keymap=armenian-western_utf-8 You can switch between Armenian and Latin characters in Insert mode using Ctrl-^ (i.e., Ctrl-Shift-6 on a standard English keyboard layout). To disable the keymap at Vim startup so that Insert mode uses Latin characters by default, add the following lines to your `.vimrc`: set iminsert=0 set imsearch=0 [1]: https://github.com/vim/vim [2]: https://commons.wikimedia.org/wiki/File:KB_Eastern_Armenian.svg [3]: https://commons.wikimedia.org/wiki/File:KB_Western_Armenian.svg