On Wed, Mar 23, 2011 at 8:32 AM, Tim Chase wrote:
> On 03/23/2011 10:05 AM, Benjamin R. Haskell wrote:
>
>> On Wed, 23 Mar 2011, Tim Chase wrote:
>>
>>> set
>>>
>>> foldexpr=(getline(v:lnum)[:19]==getline(v:lnum+1)[:19])?6:((getline(v:lnum)[:16]==getline(v:lnum+1)[:16])?'<6':((getline(v:lnum)[:13
On 03/23/2011 10:05 AM, Benjamin R. Haskell wrote:
On Wed, 23 Mar 2011, Tim Chase wrote:
set
foldexpr=(getline(v:lnum)[:19]==getline(v:lnum+1)[:19])?6:((getline(v:lnum)[:16]==getline(v:lnum+1)[:16])?'<6':((getline(v:lnum)[:13]==getline(v:lnum+1)[:13])?'<5':((getline(v:lnum)[:10]==getline(v:lnum+
On Wed, 23 Mar 2011, Tim Chase wrote:
On 03/21/2011 11:58 PM, c b wrote:
Hi Tom,
s/Tom/Tim/
:)
On Mon, Mar 21, 2011 at 5:31 PM, Tim Chase wrote:
On 03/21/2011 01:43 PM, sanjay ravat wrote:
[2011-03-21T18:45:46.004-07:00] [Other info]... log message
[2011-03-21T18:45:46.008-07:00] [Other
On 03/21/2011 11:58 PM, c b wrote:
Hi Tom,
s/Tom/Tim/
:)
On Mon, Mar 21, 2011 at 5:31 PM, Tim Chase wrote:
On 03/21/2011 01:43 PM, sanjay ravat wrote:
[2011-03-21T18:45:46.004-07:00] [Other info]... log message
[2011-03-21T18:45:46.008-07:00] [Other info]... log message
[2011-03-21T18:45:
On Tue, Mar 22, 2011 at 08:25:22AM +0100, Christian Brabandt wrote:
>> 2. The [Other info] in the example is info I don't really care
>> about. Is there a concept of a vertical fold/any way to hid the
>> [Other info] fields?
>
> No.
Well you could use the conceal feature to hide the [Other info]
t
On Tue, March 22, 2011 5:58 am, c b wrote:
> Hi Tom,
>
> Thanks for the expr. It works like a charm. I do have a couple of
> questions though 1. How can we expand this so that multiple nesting
> (based on timestamp) will be supported? i.e. if we have logs for two
> days 2011-03-20 and 2011-03-21, t
Hi Tom,
Thanks for the expr. It works like a charm. I do have a couple of questions
though
1. How can we expand this so that multiple nesting (based on timestamp) will
be supported? i.e. if we have logs for two days 2011-03-20 and 2011-03-21,
the first level would have only two lines shown (when f
On 03/21/2011 01:43 PM, sanjay ravat wrote:
[2011-03-21T18:45:46.004-07:00] [Other info]... log message
[2011-03-21T18:45:46.008-07:00] [Other info]... log message
[2011-03-21T18:45:46.607-07:00] [Other info]... log message
Thanks for the example data and better description. After
experimenti
Hi Tim,
Thanks for your reply.
Lines are as such
[2011-03-21T18:45:46.004-07:00] [Other info]... log message
[2011-03-21T18:45:46.008-07:00] [Other info]... log message
[2011-03-21T18:45:46.607-07:00] [Other info]... log message
I would like to fold based on each part of the timestamp Year, month
On 03/20/2011 12:19 PM, sanjay ravat wrote:
I am relatively new to vim. I need to inspect log files that
run into thousands of lines. Each line starts with a
timestamp. How can I fold the logs based on timestamp?
It would help to have (1) an excerpt of the log-file (possibly
redacted, leaving
Hi,
I am relatively new to vim. I need to inspect log files that run into
thousands of lines. Each line starts with a timestamp. How can I fold the
logs based on timestamp?
Thanks,
cb
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you
11 matches
Mail list logo