2012-10-16 14:13:21 -04:00
This is a [Vim ](http://vim.org ) syntax file for [i3 ](http://i3wm.org/ ) config file.
2012-10-16 14:34:09 -04:00
![Screenshot ](http://ompldr.org/vZndvNg/i3-vim-syntax.png )
2012-10-16 14:13:21 -04:00
## Using it
You can install it using a Vim plugin manager ([Vundle], [Pathogen], …) or just by putting [i3.vim][i3vim] in your `~/.vim/syntax` directory.
2012-10-16 14:18:20 -04:00
I recommend you to add `# vim:set syntax=i3` at the end of your i3 config file, unless you really want to type `:set syntax=i3` every time you edit this file.
2012-10-16 14:13:21 -04:00
## Todo
* Command scopes (like `[class="Firefox"]` ) are not colorized yet.
* It would be nice to have more context sensitive highlighting and some error detection.
[Vundle]:http://github.com/gmarik/vundle/
[Pathogen]:http://github.com/tpope/vim-pathogen/
2012-10-16 14:18:20 -04:00
[i3vim]: http://raw.github.com/PotatoesMaster/i3-vim-syntax/master/syntax/i3.vim