开发者

vim shows empty block at end of each line

While editing a file in Vim, I tried to do a global search and replace, but I accidentally hit enter after typing this:

:g/$/x

Now Vim is in a funny state where an empty blue box appears at the end of each line, not only in the file I was editing, but in开发者_JAVA技巧 EVERY file I open! I've logged out and back in, but the strange state persists. What happened, and how can I get Vim back to normal?


It's only highlighting. Type :nohl and it should vanish.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜