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
"A small script to measure typing speed | |
"Shows speed in bottom bar when you leave insert mode | |
"Run :messages to see all recent speeds | |
"This script was a hack thrown together in 10-15 minutes and has not been well tested yet. | |
function! s:insertEnterTypespeed() | |
let b:startTime = localtime() | |
endfunction | |
function! s:insertLeaveTypespeed() | |
let chars = strlen(@.) | |
if chars |