Have 2 files, both with foldmarkers.
A viminfo file, with a mark of
file2.

$ cat .vimrc

set nocp
set fdm=marker
"This is a suggested (simplified) autocmd from vimrc_example
autocmd BufReadPost * normal g`"

$ vim -U NONE --noplugin file1
:vimgrep /foo/j file2

Now file1 has the folds set as if it were file2.

-ap


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui