[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vile] Detecting if vile is idle
From: |
Chris Green |
Subject: |
[vile] Detecting if vile is idle |
Date: |
Fri, 4 Mar 2016 11:33:42 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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)?
--
Chris Green
- [vile] Detecting if vile is idle,
Chris Green <=
- Re: [vile] Detecting if vile is idle, Chris Green, 2016/03/07
- 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