On Thu, Jan 26, 2012 at 21:00, Benjamin R. Haskell <[email protected]> wrote: >> Is there a way to turn 26 alias on and off with a single command? My line >> of thinking is to enable CapsLock in VIM itself, as opposed to in the OS, so >> that it will only affect input mode. Can this be done? > > > See: http://vim.wikia.com/wiki/Insert-mode_only_Caps_Lock > > The gist: use a keymap, which doesn't affect normal/visual mode, but does > change keys in insert mode and searches. > > There's a sample keymap on that page, which swaps A-Z and a-z. I posted a > keymap on this list at some point which swaps the case of everything in > Unicode that has a mapping to the opposite case: > > http://benizi.com/vim/swapcaps.vim >
Thank you Ben, that is exactly what I was trying to do. One thing that I do not understand is where the Ctrl-6 mapping is defined. I would like to change that to something else because I use Ctrl-6 to go back to the original file after gf. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- 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
