On 08/08/12 13:25, Kenneth Reid Beesley wrote:
> imap  ~~  <esc>guiw~la
> 
> Then, in insert mode, when you type ~~ (or whatever sequence
> appeals to you), vim will shift temporarily into normal command
> mode (via the <esc>), then capitalize the current word, then
> switch back to insert mode (with the 'a').

I'd recommend using "gi" instead of "a" to return the
insertion-point to the last-used position.

-tim


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