Monday, November 22, 2010

Re: caps lock invert in insert mode? (Fortran 77 editing)

> >> For e.g,
> >> :inoremap a A
> >> :inoremap A a
> >
> > Thanks, but I can't get this to work. Am I correct
> in thinking that having done this, typing 'a' in insert mode
> should insert 'A' and vice versa?
> >
> > I would need to setup 52 inoremaps and possibly
> functions to turn them all on or off?
> That is correct..
>
> Ofcourse, you can put a loop instead of 52 explicit maps.
> Something like:

Thanks, that would be exactly what I need, except that the inoremap examples above have no effect for me. I presume it works for you. I am using vim 7.3 in a console.


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment