add profile method for mode switching
This commit is contained in:
parent
8cfb43fe32
commit
87c999358c
|
@ -32,3 +32,19 @@ function! airline#debug#profile2()
|
|||
noautocmd qall!
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue