On 05/12/08 22:33, Bram Moolenaar wrote: > > Kana Natsuno wrote: > >> When I wrote some Vim scripts to implement new motions and new text >> objects, I noticed that there is no way to check whether the type of a >> motion is forced or not. (e.g. :help o_v is given or not) >> >> I wrote a patch to add the variable v:motion_force which contains the >> information about this problem. See the attached file for the >> details. Please include this patch if it is useful for other users. > > Yes, this sounds useful. Thanks for making the patch. > > I wonder if the name "v:motion_force" is the best choice. Does someone > know a better name? >
v:operator_mode? v:motion_mode? I didn't read the patch so I might be off-target. Best regards, Tony. -- Everyone can be taught to sculpt: Michelangelo would have had to be taught how _not_ to. So it is with the great programmers. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
