Tuesday, June 12, 2012

Can I use conceal to hide ctrl-m in end of line?

Hi,

I am working with someones elses file, some of them are readonly so I cannot really just read read of the annyoying ^M in the end of the line.
Some lines have this charather others don't.
Even if I do
set ff=dos they are still changing.

I was thinking that it should be possible to hide these using the conceal feature, but I am not sure how to do it.

I tried
:syntax keyword ConcealCtrlm ^M conceal cchar=
:set conceallevel=2

but nothing happened...

Any ideas?
Thank you.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: