In my vimrc file i have this option set cursorline. I want to hide this line if that window is not in focus . Is there an option in vim to do that?
See this
In my vimrc file i have this option set cursorline . I want to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Essentially, it’s just the following autocmds:
But occasionally, you may want to define exceptions (i.e. permanently on or off) for certain windows. That’s where my CursorLineCurrentWindow plugin may be helpful.