Thursday, December 31, 2009

Re: how to highlight the content in the same column

thanks Dominique !
it works


2009/12/31 Dominique Pellé <dominique.pelle@gmail.com>
yorker wrote:

> how to highlight the content in the same column ?
> It is important to write large Python codes  in Vim.
>
> Do any one know how to do that?
>
> just like
> the Demo : http://files.myopera.com/mbbill/files/code_complete.gif
> in http://www.vim.org/scripts/script.php?script_id=1764

:set cuc

You can customize the color of current column with
something like this:

hi CursorColumn guifg=NONE    guibg=#111111 gui=none term=none
cterm=none    ctermfg=NONE ctermbg=grey
hi CursorLine   guifg=NONE    guibg=#111111 gui=none term=none
cterm=none    ctermfg=NONE ctermbg=grey


See also :help cul

Cheers
-- Dominique

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php



--
yorker

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: