On Monday, August 19, 2013 3:55:03 PM UTC-5, Christian Brabandt wrote: > On Mo, 19 Aug 2013, [email protected] wrote: > > > > > Hey all, > > > > > > my vim takes a lot of time when opening a file for the first time. I made a > > "vim --startuptime start.log .vimrc" (my .vimrc has about 500 lines). These > > are the TOP4 processes: > > > > > > 2075.385 1790.067: opening buffers > > > > Do you have a large .viminfo file or do you load many files? > >
Or maybe, you are reading files from a network location? > > > 2200.133 124.203: BufEnter autocommands > > > > I guess some plugins make use of many BufEnter autocommands. > > > > > 117.800 082.955 062.110: sourcing $HOME/.vimrc > > > 247.013 073.089 073.089: sourcing > > /home/fwagner/.vim/bundle/vim-fat-finger/plugin/fat-finger.vim > > > > Well it just takes some time to load that file. This is a rather large file. > > Processing startup scripts can take a long time as well if $HOME is on a network location. But it doesn't *look* to be the case here. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
