Great!!! that worked. thanks a lot. --Rudy
On Oct 12, 12:43 pm, Gary Johnson <[email protected]> wrote: > On 2010-10-12, rudy b wrote: > > > > > > > On Oct 12, 11:45 am, Gary Johnson <[email protected]> wrote: > > > On 2010-10-12, Marc Weber wrote: > > > > > Excerpts from rudy b's message of Tue Oct 12 20:12:27 +0200 2010: > > > > > Does any one know why I see such a behavior? and what is the way > > > > > around it? How can I just have gvim shows the carriage returns, if it > > > > > is in fact there? > > > > > :h nocomp. If either .vimrc or .gvimrc exists vim defaults are used > > > > instead of vi defaults. > > > > > Try :echo &fileformat. When the ^M signs are missing that's because Vim > > > > recognized its a dos file now. > > > > Also see > > > > :help fileformats > > > > Note the ending 's'. > > Thank you all, > > > now I understand what is going on. But is there a way to force the > > fileformats to default to unix (even for a dos format file)? > > You can execute > > :set ffs=unix > > some time before opening a file, such as by putting that setting in > your ~/.vimrc. > > Regards, > Gary- Hide quoted text - > > - Show quoted text - -- 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
