alias scroll
{
^bind ~ nothing
switch ($0)
 {
 (up) {type ^E}
 (down) {type ^D}
 (end) {type ^R}
 }
timer 1 ^bind ~ self_insert
}