I tried it again with 'incsearch' off and it doesn't seem to change the speed of loading the viminfo file this time, but does affect Fern, which is a directory tree browser plugin.
I can still speed up loading the viminfo by removing the search history. On Sat, Jun 18, 2022 at 11:38 AM Bram Moolenaar <[email protected]> wrote: > > Christian J. Robinson wrote: > > > Turning off 'incsearch' speeds up Vim significantly both in loading the > > viminfo and when running ":Fern -drawer ." > > I'm not sure what is going on here. The search strings in the viminfo > file should only fill the history. I cannot spot a relation with > something that might delay it. Only a redraw later might highlight > matches and use the last used search pattern. > > What is ":Fern"? Does it install autocommands or other stuff that might > get triggered? Does it use ":redraw" perhaps? > > > -- > LARGE MAN: Who's that then? > CART DRIVER: (Grudgingly) I dunno, Must be a king. > LARGE MAN: Why? > CART DRIVER: He hasn't got shit all over him. > "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES > LTD > > /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net > \\\ > /// > \\\ > \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > -- Christian J. Robinson <[email protected]> -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAK14FZ%2BSFAVEpzrc56%3DLAqSd9ik359e_aF21b9sAvk1XcqEPaA%40mail.gmail.com.
