diff options
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r-- | runtime/doc/repeat.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 0952de425b..d029391c60 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -274,8 +274,8 @@ nested as deep as the number of files that can be opened at one time (about You can use the "<sfile>" string (literally, this is not a special key) inside of the sourced file, in places where a file name is expected. It will be replaced by the file name of the sourced file. For example, if you have a -"other.vimrc" file in the same directory as your ".vimrc" file, you can source -it from your ".vimrc" file with this command: > +"other.vimrc" file in the same directory as your |init.vim| file, you can +source it from your |init.vim| file with this command: > :source <sfile>:h/other.vimrc In script files terminal-dependent key codes are represented by @@ -482,7 +482,7 @@ DEFINING BREAKPOINTS :breaka[dd] file [lnum] {name} Set a breakpoint in a sourced file. Example: > - :breakadd file 43 .vimrc + :breakadd file 43 init.vim :breaka[dd] here Set a breakpoint in the current line of the current file. @@ -586,6 +586,9 @@ For example, to profile the one_script.vim script file: > If {fname} already exists it will be silently overwritten. The variable |v:profiling| is set to one. +:prof[ile] stop + Write the logfile and stop profiling. + :prof[ile] pause Don't profile until the following ":profile continue". Can be used when doing something that should not be counted (e.g., an @@ -609,6 +612,9 @@ For example, to profile the one_script.vim script file: > after this command. A :profile command in the script itself won't work. +:prof[ile] dump + Don't wait until exiting Vim and write the current state of + profiling to the log immediately. :profd[el] ... *:profd* *:profdel* Stop profiling for the arguments specified. See |:breakdel| |