0

A $ shows up at the end of every line when I'm using vim and I'm not able to figure out what in my vimrc is causing this. Heres a picture and my entire vimrc below it. What could it be?

enter image description here

set listchars=tab:>-,eol:$,trail:-,precedes:<,extends:>

Edited above to remove the irrelevant lines.

2 Answers 2

3

This line

set listchars=tab:>-,eol:$,trail:-,precedes:<,extends:>

is denoting the end-of-line and trailing whitespace with $ and -. Comment the line out with " or remove the eol portion.

0
1

You don't say whether you actually want "list" mode for some reason. I usually only use it when needed and normally have it turned off.

I would change

set list

To

set nolist

I expect to see $ at end of line when using list-mode in vi family editors.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .