Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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.

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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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