Roshan
Roshan

Reputation: 1459

Reset vimrc not to use `$` symbol as eol convention

I added a .vimrc file to make my vim more useful for me.

As I am a new user, I just downloaded it online. But since then each EOL is marked by a $ symbol, and I find that a bit irritating.

Can you help me resetting it?

here is an example on my terminal vim editor:

  1 here is dollor symbol to each EOL$
  2 i don't want this$
  3 this is very irritating for me$
  4 any help$

Upvotes: 2

Views: 113

Answers (2)

Ingo Karkat
Ingo Karkat

Reputation: 172768

If you see those trailing $ characters, that means that you have

:set list

It's not recommended to keep this turned on all the time, for it has some side effects (e.g. with soft word wrapping), and also changes other characters (e.g. each <Tab> into ^I).

To modify the appearance, you can modify the 'listchars' option to suit your preferences. See :help 'listchars' for details. All of those changes need to be put into your ~/.vimrc to persist.

Upvotes: 3

zmo
zmo

Reputation: 24802

lookup for listchars in your vimrc (and/or your plugins)

if you want to reset it manually:

:set listchars=

to show some help about it:

:he listchars

Upvotes: 5

Related Questions