Vim syntax highlighting of layout files for the Kinesis Advantage2, Freestyle Pro and Freestyle Edge keyboards.
Clone the repository in the bundle directory of your favorite Vim package installer like pathogen or Vundle.
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
).
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
).
See LICENSE.txt.