Changes between Version 7 and Version 8 of VimSupport
- Timestamp:
- 07/02/12 22:34:58 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VimSupport
v7 v8 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. 27 If you use a dark background, you can try the cobra color scheme. Execute the following command while in Vim. 28 28 {{{ 29 29 :colorscheme cobra … … 42 42 }}} 43 43 44 If the color schemes don't seem to be working then your terminal may not support all necessary colors. Check the value of your TERM variable by executing 45 {{{ 46 echo $TERM 47 }}} 48 at the command prompt. If it reports ''xterm'' then you can try the following to enable color support. 49 {{{ 50 export TERM=xterm-256color 51 }}} 52 53 If the colors show up correctly now you can add that line to your ''.bashrc'' file. This was tested on Ubuntu 12.04 LTS and 10.04 LTS. 54 44 55 == All Users == 45 56 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''.