[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Detecting if vile is idle
From: |
Chris Green |
Subject: |
Re: [vile] Detecting if vile is idle |
Date: |
Mon, 7 Mar 2016 10:54:48 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Mar 04, 2016 at 11:33:42AM +0000, Chris Green wrote:
> I want to detect if vile has been idle for a period (i.e. five minutes
> or so) while editing a file. Would it be possible to hijack the
> autocolor variable and the autocolor-hook to do this?
>
> It will only be for one specific case where I am using vile via a
> wrapper script and syntax highlighting isn't required.
>
> If I set autocolor to 300000 (five minutes) will autocolor-hook get
> called after five minutes of idleness? I can then do what I want by
> 'setv $autocolor-hook <some new script>'.
>
> Can I set autocolor to such a large value (64-bit Linux machine)?
>
Any thoughts?
--
Chris Green
- [vile] Detecting if vile is idle, Chris Green, 2016/03/04
- Re: [vile] Detecting if vile is idle,
Chris Green <=
- Re: [vile] Detecting if vile is idle, Brendan O'Dea, 2016/03/08
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/08
- Re: [vile] Detecting if vile is idle, Brendan O'Dea, 2016/03/08
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/09
- Re: [vile] Detecting if vile is idle, Brendan O'Dea, 2016/03/09
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/10
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/11
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/11
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/11