add profile method for mode switching

This commit is contained in:
Bailey Ling 2013-09-07 13:21:04 +00:00
parent 8cfb43fe32
commit 87c999358c

View File

@ -32,3 +32,19 @@ function! airline#debug#profile2()
noautocmd qall! noautocmd qall!
endfunction endfunction
function! airline#debug#profile3()
profile start airline-profile-mode.log
profile func *
profile file *
for i in range(1000)
startinsert
redrawstatus
stopinsert
redrawstatus
endfor
profile pause
noautocmd qall!
endfunction