Wiki

Changes between Version 2 and Version 3 of VimSupport

Show
Ignore:
Timestamp:
12/09/09 02:17:31 (15 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VimSupport

    v2 v3  
     1= Vim Cobra Support = 
     2== Single User == 
     3Change to home directory 
     4{{{ 
     5cd $HOME 
     6}}} 
     7 
     8Get the most recent updates from the Mercurial repository via a clone 
     9{{{ 
     10hg clone http://bitbucket.org/webnov8/cobra-on-vim/ cobra-vim 
     11}}} 
     12 
     13For *.zip, *.gz, and *.bz2 archives download the file from [http://bitbucket.org/webnov8/cobra-on-vim/] 
     14 
     15Create a  '''.vim''' directory if one isn't already present 
     16{{{ 
     17mkdir .vim 
     18}}} 
     19 
     20Then copy the three folders (indent, ftdetect, syntax) from cobra-vim into the .vim directory: 
     21{{{ 
     22cp -r cobra-vim/* .vim 
     23}}} 
     24 
     25Open or create a file with a '''.cobra''' extension and you will have highlighting and indentation for Cobra 
     26 
     27== All Users == 
     28For 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 
    137Per Eric Z. Beard: 
    238 
     
    642au BufNewFile,BufEnter *.cobra set noexpandtab ts=4 sw=4 filetype=python 
    743}}} 
    8  
    9 For more native support try [http://bitbucket.org/webnov8/cobra-on-vim/ Cobra on Vim]. This includes a ftdetect, indent, and syntax file.