Created
November 7, 2012 10:29
-
-
Save artemave/4030759 to your computer and use it in GitHub Desktop.
SlowDown.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! SlowDown() | |
let l:rand = (localtime() % 100) + 100 | |
execute 'sleep ' . l:rand . 'm' | |
endfunction | |
au CursorMoved,CursorMovedI * :call SlowDown() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment