Sunday, June 23, 2013

Vim 7.3 - Odd behaviour with Log file ESC sequences

People,

Vim is displaying the same file differently and behaving differently
when the file is in different directories:

In:

rails_dir/rails_app/log/development.log

Vim processes the ESC sequences as normal to give coloured text but the
command "1G" does not work - but if I copy the file with "cp -a ":

rails_dir/development.log

the ESC sequences show up like:

Connecting to database specified by database.yml
^[[1m^[[36m (0.1ms)^[[0m ^[[1mselect sqlite_version(*)^[[0m

but the command "1G" works as expected. I have renamed .vimrc but the
odd behaviour persists - what I am missing?

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil@pricom.com.au

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment