Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using vim scp://.... I open a remote file. cursorline is not shown until I save the file(:w). When I type :w and enter password, cursorline appears.If I type :set nocursorline it disappears but again when I type :w it appears.

When I edit file in remote machine cursorline is turned off and is not shown.

Why does it have such a behavior?

share|improve this question
This looks very much like a cross-post of SO 9608974. It is not off-topic here, but cross-posts are discouraged (see “Cross-posting” in the FAQ). – Chris Johnsen Mar 10 '12 at 10:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.