At the moment, command modifiers are not accessible by user commands. (Only with histget(), if they were executed from the commandline.).
'command developers' handle this in 2 different ways : 1. They define various commands for all possible ways to open a new window, for example netrw. It has 5 different commands for this matter. 2. They define only one command and assume, that it will fit all users. So I am proposing to add another switchbranch in uc_check_code, which expands this kind of mods. Then it would be possible to define something like this : com -nargs=1 OpenWin <wmods> sp <args> I don't know if this would be useful for other mods like 'keepjump', etc. What do you think ? -ap -- Ich hab geträumt, der Krieg wär vorbei. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
