Fix up some documentation
This commit is contained in:
parent
a55012c758
commit
4e35c3dcc9
@ -157,12 +157,20 @@ To turn on high color support without fixing $TERM, you can change t_Co in
|
|||||||
your .vimrc, and set either CSApprox_konsole or CSApprox_eterm if appropriate.
|
your .vimrc, and set either CSApprox_konsole or CSApprox_eterm if appropriate.
|
||||||
One way would be to put something like this into your |vimrc|:
|
One way would be to put something like this into your |vimrc|:
|
||||||
>
|
>
|
||||||
if (&term == 'xterm' || &term =? '^screen') && hostname() == 'my-machine'
|
if (&term == 'xterm' || &term =~? '^screen') && hostname() == 'my-machine'
|
||||||
" On my machine, I use Konsole with 256 color support
|
" On my machine, I use Konsole with 256 color support
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
let g:CSApprox_konsole = 1
|
let g:CSApprox_konsole = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Gnome Terminal, as of the time that I am writing this, doesn't support having
|
||||||
|
the terminal emulator set $TERM to something adequately descriptive. In cases
|
||||||
|
like this, something like the following would be appropriate:
|
||||||
|
>
|
||||||
|
if &term =~ '^\(xterm\|screen\)$' && $COLORTERM == 'gnome-terminal'
|
||||||
|
set t_Co=256
|
||||||
|
endif
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. Configuration *csapprox-configure*
|
3. Configuration *csapprox-configure*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user