Possibility to highlight current line number

70 views
Skip to first unread message

Nwngz

unread,
Dec 28, 2008, 11:53:04 AM12/28/08
to vim_use
Although vim is able to highlight current line. But this will makes it
slowdown!

So, what about highlighting the current line number?

Tony Mechelynck

unread,
Dec 28, 2008, 12:13:40 PM12/28/08
to vim...@googlegroups.com

Have you tried ":set cul" or maybe even ":set cuc cul"? I use it and it
doesn't seem overly slow to me. I also have the following in my colorscheme:

if has("gui_running")
hi clear CursorLine
hi CursorLine guibg=#F4F4F4
endif
hi clear CursorColumn
hi link CursorColumn CursorLine


Best regards,
Tony.
--
ARTHUR: I did say sorry about the `old woman,' but from the behind you
looked--
DENNIS: What I object to is you automatically treat me like an inferior!
ARTHUR: Well, I AM king...
The Quest for the Holy Grail (Monty
Python)

Nwngz

unread,
Dec 28, 2008, 1:40:05 PM12/28/08
to vim_use
Yes, I've tried this. But erery time I set "cuc" and/or "cul" on, it
will slowdown the cursor movement. Especially scrolling the buffer.

BTW, I run gVim under MS-Windows XP.

On 12月29日, 上午1时13分, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages