开发者

vim shows empty block at end of each line

开发者 https://www.devze.com 2023-04-11 01:37 出处:网络
While editing a file in Vim, I tried to do a global search and replace, but I accidentally hit enter after typing this:

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

精彩评论

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