dr-dr xp wrote: > Hello I have some questions about profiling vim scripts > I wanna profile a script that mapping some keys to execute something (call > functions, or else..), but I have never get vim to output profile result > file.
The `profile start' command simply sets up the logging to a file. You must then use either `profile func' or `profile[!] file' to tell Vim what to profile. Note also that the output won't be written to the file until Vim exits. Brett Stahlman > What I do is : > vim abc.c > :profile start prof.abc.c > <do something..> > :wq > And then I got an empty file prof.abc.c. Did I miss anything? > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
