| 1 | = Vim Cobra Support = |
| 2 | == Single User == |
| 3 | Change to home directory |
| 4 | {{{ |
| 5 | cd $HOME |
| 6 | }}} |
| 7 | |
| 8 | Get the most recent updates from the Mercurial repository via a clone |
| 9 | {{{ |
| 10 | hg clone http://bitbucket.org/webnov8/cobra-on-vim/ cobra-vim |
| 11 | }}} |
| 12 | |
| 13 | For *.zip, *.gz, and *.bz2 archives download the file from [http://bitbucket.org/webnov8/cobra-on-vim/] |
| 14 | |
| 15 | Create a '''.vim''' directory if one isn't already present |
| 16 | {{{ |
| 17 | mkdir .vim |
| 18 | }}} |
| 19 | |
| 20 | Then copy the three folders (indent, ftdetect, syntax) from cobra-vim into the .vim directory: |
| 21 | {{{ |
| 22 | cp -r cobra-vim/* .vim |
| 23 | }}} |
| 24 | |
| 25 | Open or create a file with a '''.cobra''' extension and you will have highlighting and indentation for Cobra |
| 26 | |
| 27 | == All Users == |
| 28 | For all users use your system admin privileges to copy the indent/cobra.vim, ftdetect/cobra.vim, and syntax/cobra.vim into Vim's own indent, ftdetect, and syntax directories, respectively. An example of such a Vim path is '''/usr/share/vim/vim72'''. |
| 29 | |
| 30 | == Coming soon == |
| 31 | * Improved support for generics |
| 32 | * Support for initializations |
| 33 | * In comment support |
| 34 | |
| 35 | = Alternative = |
| 36 | |