home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,778 of 123,932   
   DrunkenThon to Kenny McCormack   
   Re: In vim, how to tell which version of   
   16 Feb 25 18:44:01   
   
   From: drunkenthon@gmail.com   
      
   Kenny McCormack  wrote:   
      
   > Isn't there some kind of "verbose mode" that makes VIM tell you every file   
   > it sources (as it is sourcing it)?  That would be closer to the truth, but   
   > still not ideal.   
      
   Hello, Kenny.   
   You can use --startuptime option to log vim startup process to a file.   
   For example:   
   $ vi --startuptime startup.log   
      
   The log file will contain lines like these:   
        ...   
        19 004.001  001.654  001.654: sourcing /usr/share/vim/vim91   
   colors/lists/default.vim   
        20 004.276  002.182  000.528: sourcing /usr/share/vim/vim91   
   syntax/syncolor.vim   
        ...   
      
      
   :help --startuptime   
   --startuptime {fname}					*--startuptime*   
   		During startup write timing messages to the file {fname}.   
   		This can be used to find out where time is spent while loading   
   		your .vimrc, plugins and opening the first file.   
   		When {fname} already exists new messages are appended.   
   		{only available when compiled with the |+startuptime|   
   		feature}   
      
   There is also :scriptnames command.   
   :help :scriptnames   
      
   :scr[iptnames]		List all sourced script names, in the order they were   
   			first encountered.  The number is used for the script   
   			ID ||.   
   			For a script that was used with `import autoload` but   
   			was not actually sourced yet an "A" is shown after the   
   			script ID.   
   			For a script that was referred to by one name but   
   			after resolving symbolic links got sourced with   
   			another name the other script is after "->".  E.g.   
   			"20->22" means script 20 was sourced as script 22.   
   			Also see `getscriptinfo()`.   
   			{not available when compiled without the |+eval|   
   			feature}   
      
   This is not exactly what you wanted, but at least you can see which files   
   were opened/processed at startup and in what order.   
      
   --   
   Best regards,   
   DrunkenThon.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca