LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What are these "leading" lines in vim? (https://www.linuxquestions.org/questions/linux-software-2/what-are-these-leading-lines-in-vim-4175516558/)

szboardstretcher 08-27-2014 01:21 PM

What are these "leading" lines in vim?
 
http://imgur.com/al5huJs

I only see them occasionally, and I'm just wondering what they are.

ReaperX7 08-27-2014 04:24 PM

I think those are DOS carrier returns.

Those can greatly disrupt UNIX test files, so you'll want to try to get rid of them. dos2unix works, as does other editors that support UNIX text file creation and editing.

Firerat 08-27-2014 04:32 PM

They could be 'tabs'

See if you have

Code:

set list
set listchars=tab:__

In ~/.vimrc or /etc/vim/vimrc

could use cat -A to confirm


All times are GMT -5. The time now is 11:20 PM.