/vim-kinesis

Syntax highlighting for Kinesis Advantage2 and Freestyle Pro/Edge keyboard layout files

Primary LanguageVim ScriptMIT LicenseMIT

vim-kinesis

Vim syntax highlighting of layout files for the Kinesis Advantage2, Freestyle Pro and Freestyle Edge keyboards.

Installation

Using a package manager

Clone the repository in the bundle directory of your favorite Vim package installer like pathogen or Vundle.

Manually

Put the syntax/advantage2.vim and syntax/freestyle.vim files in your user runtime directory where syntax files are searched for by Vim (normally $HOME/.vim/syntax).

Filetype detection

To have Vim automatically detect the type of file, add the lines

autocmd BufNewFile,BufRead ?_{qwerty,dvorak}.txt,{qwerty,dvorak}.txt set filetype=advantage2
autocmd BufNewFile,BufRead layout[123456789].txt set filetype=freestyle

in your .vimrc or in the file filetype.vim in your user runtime directory (normally $HOME/.vim).

Screenshot

Highlighting screenshot

License

See LICENSE.txt.