Skip to content

blinskey/vim-armenian-keymaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

The master branch provides a pair of common mappings for the Western and Eastern dialects that cover the full alphabet and all standard punctuation marks. These are included in the Vim source code. The alt branch provides an alternate set of mappings based on the xkeyboard-config Armenian keymaps.

Please feel free to submit additional keymaps or corrections as pull requests or patches sent to vim@benlinskey.com.

Setup

Installing the keymap files

You’ll first need to ensure that the Armenian keymap files are installed in Vim’s keymap directory. If you’re using Vim 8 or a late release of Vim 7.4, the keymaps on the master branch are included out of the box, so you can skip ahead to Activating a keymap. If you’re using an older version of Vim that doesn’t include the keymaps or if you’d like to use a keymap from the alt branch, you’ll need to copy or link your desired keymap files to your Vim keymap directory (/usr/share/vim/vim74/keymap by default in Vim 7.4).

Activating a keymap

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, copy or link armenian-western_utf-8.vim to the directory /usr/share/vim/vim74/keymap/, 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-^. 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

For more information on keymaps, see :help mbyte-keymap.

Layouts

Eastern Armenian

Eastern Armenian keyboard layout

The original uploader was Pokajanje at English Wikipedia. (Transferred from en.wikipedia to Commons.) [CC BY-SA 3.0], via Wikimedia Commons.

Western Armenian

Western Armenian keyboard layout

The original uploader was Pokajanje at English Wikipedia. (Transferred from en.wikipedia to Commons.) [CC BY-SA 3.0], via Wikimedia Commons.

Releases

No releases published

Packages

No packages published