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.

link|improve this question

75% accept rate
feedback

2 Answers

up vote 3 down vote accepted

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.

link|improve this answer
Yup ofcourse, thanks. – sri Oct 9 '11 at 6:38
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.