On 09/19/12 09:12, Rudra Banerjee wrote: > The problem is, whenever I open a file with gvim, the last word of each > line is ^M. Though, it does not create any problem in compilation, its > odd and irritating to have a yellow box at each line. > is there anyway to do with this?
I suspect this is two separate things: 1) you have (as mentioned in a parallel thread) a file with DOS newlines. Follow Tony's advice for getting rid of them. 2) you /also/ have them being highlighted yellow because it may have been your last search. There are a couple ways to get rid of it depending on what you want. If you never want to see your search matches highlighted, you can issue ":set nohls" or put the line in your vimrc (or rather, since you pasted your vimrc, remove the "set hlsearch" line from it). If you just want to temporarily quiet Vim from highlighting the match, but you want it to highlight future searches, you can issue ":noh". To learn more about each, you can read up at :help 'hls' :help :noh -tim -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
