Bram Moolenaar wrote: >Charles Campbell wrote: > > > >>So, a feature request: how about a <p-args> that breaks the input >>arguments at whitespace (but otherwise leaves the arguments alone). The >>"p" is to be vaguely reminescent of: pattern-arguments (as in regular >>expression patterns)? >> >> > >I think the last time something changed here was with patch 7.0.214, >that's quite a long time ago. It was done because the handling of >escaped white space was wrong. > >I understand that you don't want to escape white space at all, thus >"a\ b" would be split in "a\" and "b". Why not use <q-args> and do the >splitting at white space in the invoked function? > > I thought about that -- I'd need to duplicate that (script) function in several places, though, and figured it might be better in vim source. The primary function handling <p-args> is basically a much shortened version of that used for <f-args>, so it was fairly straightforward.
Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---