On Mon, Nov 22, 2010 at 5:31 PM, Rob <[email protected]> wrote:
> I find it quite awkward to edit a language such as Fortran 77 where all 
> keywords are in capitals.  I am constantly turning caps lock on and off, 
> sometimes forgetting which means I then enter the wrong commands.
>
> Is there any vim feature to make this easier?  I'm thinking something like 
> ':set capsinvert' would help.  It would only affect insert mode, and invert 
> the functionality of the caps lock key. ie. normally type in capitals, but 
> can be disabled (turn the caps lock light on) for typing string literals in 
> normal case.

Check :help inoremap

For e.g,
:inoremap a A
:inoremap A a

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

Reply via email to