On 29-Sep-09 3:19, Hari Krishna Dara wrote: > exec v:cmdmodifiers 'split' s:windowName
I like the idea, definitely useful, and have been wanting this occasionally when writing custom commands myself. Above quote probably covers most use cases; it seems unlikely that modifiers like 'confirm' and 'vertical' will be combined _and_ need to be handled separately. However, for such a use case it would simplify parsing of v:cmdmodifiers if the patch could expand (i.e. "vert" -> "vertical") any abbreviated modifiers. Using separate v: variables seems like overdoing it to me. -- cheers, ingo -- -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ -- -- http://vim.sourceforge.net/account/profile.php?user_id=9713 -- --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
