mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2025-03-04 01:20:55 +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…
x
Reference in New Issue
Block a user