mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-25 17:57:36 +08:00
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!
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user