On Sat, Apr 4, 2009 at 8:51 PM, Ken Bloom <[email protected]> wrote:

>
> 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
>

Agreed



-- 
fREW Schmidt
http://blog.afoolishmanifesto.com

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to