Simple event looping in vim