On Fri, 03 Apr 2009 16:04:36 -0500, fREW Schmidt wrote:
>> > Ok, I figured out what the problem is, but it's a drag because I like >> > the setting to much to not use it: >> > >> > " Swap ; and : Convenient. >> > nnoremap ; : >> > nnoremap : ; >> > vnoremap ; : >> > vnoremap : ; >> > >> > So I can't do @: because it tries to do @; but if I do @; nothing >> > happens at all... >> >> Try replacing your mappings by >> >> noremap : ; >> noremap! : ; >> noremap ; : >> noremap! ; : >> >> in order to swap them in *all* modes (not only normal and visual but >> also operator-pending, insert/replace and command-line) >> >> Then if that's too all-inclusive for your taste, you can still e.g. do >> >> iunmap ; >> iunmap : >> >> afterwards, to undo (let's say) the insert-mode mapping. (I suspect >> it's either operator-pending or command-line that's missing to make it >> work the way you want.) >> >> > I tried this (with and without the iunmaps) and didn't have any luck. > Thanks anyway Tony. > > Maybe this will give some insight: doing @; gives errors about an > invalid register ';' but doing @: is (apparently) a no-op. Sounds like a bug. : should be a register too. If it interprets @; as the ; register, then it should interpret @: as the : register. --Ken -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
