On Nov 23, 2013, at 6:43 PM, Peng Yu <[email protected]> wrote:

> Something like 'grep --color' (although it produces colored output)
> won't cause the problem. You have to use ack. Did you use ack?


You are right sorry, now I'm able to confirm that

alias less='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | vim -R -'

Works like a charm :-)

-- 
Gabriele Lana
contact me at gabrielelana at cleancode dot it
http://www.cleancode.it - what we do and what we believe in
http://www.gabrielelana.it - agile methodologies and 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to