Changes between Version 6 and Version 7 of VimSupport
- Timestamp:
- 07/02/12 22:03:24 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VimSupport
v6 v7 1 1 = Vim Cobra Support = 2 2 == Single User == 3 Change to home directory3 Change to your home directory 4 4 {{{ 5 5 cd $HOME … … 8 8 Get the most recent updates from the Mercurial repository via a clone 9 9 {{{ 10 hg clone http://bitbucket.org/ webnov8/cobra-on-vim/ cobra-vim10 hg clone http://bitbucket.org/ramonrocha/cobra-on-vim/ cobra-vim 11 11 }}} 12 12 13 For *.zip, *.gz, and *.bz2 archives download the file from [http://bitbucket.org/ webnov8/cobra-on-vim/]13 For *.zip, *.gz, and *.bz2 archives download the file from [http://bitbucket.org/ramonrocha/cobra-on-vim/] 14 14 15 15 Create a ''.vim'' directory if one isn't already present … … 18 18 }}} 19 19 20 Then copy the three folders (indent, ftdetect, syntax) from cobra-vim into the .vim directory:20 Then copy the four folders (colors, indent, ftdetect, syntax) from cobra-vim into the .vim directory: 21 21 {{{ 22 22 cp -r cobra-vim/* .vim … … 25 25 Open or create a file with a '''.cobra''' extension and you will have highlighting and indentation for Cobra 26 26 27 If you use a dark background, you can try the cobra color scheme. 28 {{{ 29 :colorscheme cobra 30 }}} 31 32 If you use a light background, you can try the cobralight color scheme instead. 33 {{{ 34 :colorscheme cobralight 35 }}} 36 37 Add either of the previous commands to your ''.vimrc'' file in your home directory to make the change permanent. 38 39 To change back to the default color scheme, execute: 40 {{{ 41 :colorscheme default 42 }}} 43 27 44 == 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 ''indent'', ''ftdetect'', and ''syntax'' directories, respectively. These directories are found in the Vim home path. 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 45 For all users use your system admin privileges to copy the ''indent/cobra.vim'', ''ftdetect/cobra.vim'', ''syntax/cobra.vim'', into Vim's ''indent'', ''ftdetect'', and ''syntax'' directories, respectively. These directories are found in the Vim home path. An example of such a Vim path is ''/usr/share/vim/vim72''. 34 46 35 47 = Alternative =