2025-06-01 18:26:39 +02:00
|
|
|
" Vim :profile and :profdel commands
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
profile start /tmp/myprofile
|
|
|
|
|
profile stop
|
|
|
|
|
profile pause
|
|
|
|
|
profile continue
|
|
|
|
|
profile func MyFunc
|
|
|
|
|
profile file MyScript.vim
|
|
|
|
|
profile! file MyScript.vim
|
|
|
|
|
profile dump
|
|
|
|
|
|
|
|
|
|
profdel func MyFunc
|
|
|
|
|
profdel file MyScript.vim
|
|
|
|
|
profdel here
|
|
|
|
|
|
|
|
|
|
|
2025-07-25 20:00:25 +02:00
|
|
|
" Tail comment
|
2025-06-01 18:26:39 +02:00
|
|
|
|
|
|
|
|
profile start /tmp/myprofile " comment
|
|
|
|
|
profile stop " comment
|
|
|
|
|
profile pause " comment
|
|
|
|
|
profile continue " comment
|
|
|
|
|
profile func MyFunc " comment
|
|
|
|
|
profile file MyScript.vim " comment
|
|
|
|
|
profile! file MyScript.vim " comment
|
|
|
|
|
profile dump " comment
|
|
|
|
|
|
|
|
|
|
profdel func MyFunc " comment
|
|
|
|
|
profdel file MyScript.vim " comment
|
|
|
|
|
profdel here " comment
|
|
|
|
|
|
|
|
|
|
|
2025-07-25 20:00:25 +02:00
|
|
|
" Trailing command
|
2025-06-01 18:26:39 +02:00
|
|
|
|
|
|
|
|
profile start /tmp/myprofile | echo "Foo"
|
|
|
|
|
profile stop | echo "Foo"
|
|
|
|
|
profile pause | echo "Foo"
|
|
|
|
|
profile continue | echo "Foo"
|
|
|
|
|
profile func MyFunc | echo "Foo"
|
|
|
|
|
profile file MyScript.vim | echo "Foo"
|
|
|
|
|
profile! file MyScript.vim | echo "Foo"
|
|
|
|
|
profile dump | echo "Foo"
|
|
|
|
|
|
|
|
|
|
profdel func MyFunc | echo "Foo"
|
|
|
|
|
profdel file MyScript.vim | echo "Foo"
|
|
|
|
|
profdel here | echo "Foo"
|
|
|
|
|
|