On 2018-10-09 10:49, Tapas Mishra wrote: > I had a C program which I copy pasted and there were line numbers in code. > So I replaced line numbers in vi by following command > :%s/\d*. (<-- last of * is a dot) > > Now I am opening vim in cygwin then all typed lines are coming yellow. > https://i.stack.imgur.com/Dxd8h.jpg > > How do I fix this problem,
:noh or :nohlsearch It looks like it is highlighting the matches of the last search you made which was "digit class, 0 or more, and any char". I would not expect Vim to highlight on opening a new file though, only when you tell it to search. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple