Tim\'s picture      Blogging Ottinger (tim)

2007-May-29

Stupid VIM trick of the day

Filed under: Linux, Programming

Try this:

:set cuc cul

This is only helpful if you are having trouble finding the cursor in your window. It draws crosshairs with background coloring. I think it’s normally quite annoying, but I can see it being handy if you can’t see where the cursor is sitting (sometimes the case when using vim through telnet or the like).

I’ve also seen editors that highlight the current line. I guess that’s not dumb. It’s nice to know where you are.

So it’s an interesting trick, and maybe even a little useful.

Comments »

The URI to TrackBack this entry is: http://tottinge.blogsome.com/2007/05/29/stupid-vim-trick-of-the-day/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome | Theme designs available here