I am relatively new to Vim. Whenever I start Vim using vim LearnRuby.rb, a dollar sign appears at every line.
vim LearnRuby.rb
Why?
Open ~/.vimrc and check its contents If you see a line like this:
~/.vimrc
set list
It means, it will display $ in every line to mark the end of line. Either remove it or use :set nolist command in the vi editor.
$
:set nolist