Thank you both you, Chip and Erik, for your answers. I didn't know about :redir. (it was really my first vim script :-) ) However it still seems to be a hack instead of a clean solution, probably quite slow for interactive usage. For example I can't imagine using this workaround in a code called from cursormove event, like nick wanted to have.
I'm not sure how frequent is the usage of signs today, but if they are to be used more frequently, new functions for handling them (and using that functions in mksession) would be a good idea (including a possibility to clear signs in one file/buffer). Do you agree? BTW: open folds after vertical diffsplit looks (visually) very similar to signs but :sign list shows nothing. Interesting... Why two so similar mechanisms were developped? Milan Vancura -- Milan Vancura, Prague, Czech Republic, Europe --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---