Tuesday, January 3, 2012

Re: highlighting in terminal

Chris Lott wrote the following on 03.01.2012 20:08


-- <snip> --
> However, while searching using EasyMotion (which freaking rocks:
> http://www.vim.org/scripts/script.php?script_id=3526), the found
> characters are highlighted in red in gvim, but not at all in terminal.

Thanks for the suggestion. I like it, too. For the colour problem:

,----[ plugin/EasyMotion.vim ]--------

" Default highlighting {{{
let s:target_hl_defaults = {
\ 'gui' : ['NONE', '#ff0000' , 'bold']
\ , 'cterm256': ['NONE', '196' , 'bold']
\ , 'cterm' : ['NONE', 'red' , 'bold']
\ }

let s:shade_hl_defaults = {
\ 'gui' : ['NONE', '#777777' , 'NONE']
\ , 'cterm256': ['NONE', '242' , 'NONE']
\ , 'cterm' : ['NONE', 'grey' , 'NONE']
\ }

`---------------------------------------------

I guess your term is capable of 256 but your colour theme is not?
What gives you:
:set term?
:set t_Co?

Do you have a link to the colour theme?

> Is there an easy way to get the highlights in terminal vim?
>
> c
> --
> Chris Lott <chris@chrislott.org>
>

--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: