On Thu, Oct 03, 2019 at 08:05:28AM -0700, 'Suresh Govindachar' via vim_use wrote:
> To view a file containing terminal color escape codes (file was created by
> redirecting the stdout and stderr into it), I tried the suggestions at
> https://vi.stackexchange.com/questions/485/can-vim-interpret-terminal-color-escape-codes
> -- but there was no difference compared to just opening the file and not
> doing any of the following:
>
> 1) Opening foo.txt and sourcing AnsiEscPlugin.vim
> 2) Opening foo.txt and sourcing ColorizerPlugin.vim
I once tried this approach (don't remember which plugin specifically),
and it was very slow.
> 3) Starting vi and doing ":term less foo.txt"
Instead do :term cat foo.txt
Or, if you want to use less, ask less to interpret the escape codes for
you -- :term less -R foo.txt
Marius Gedminas
--
Thus spake the master programmer:
"After three days without programming, life becomes meaningless."
-- Geoffrey James, "The Tao of Programming"
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20191003151512.2uo5v7s6h6u6yoy4%40blynas.
Thursday, October 3, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment