On Thu, Mar 15, 2012 at 02:52, Tim Chase <[email protected]> wrote: > On 03/14/12 14:47, Dotan Cohen wrote: >> >> imap >> jj<Esc>?\%<c-r>=line('.')<cr>l\({}\\|\[]\\|><\\|()\\|""\\|''\\|><lt>\)?s+1<cr>i > > > I'd be tempted to use "<c-o>" instead of "<Esc> ... i", but I'm glad it's > working for you as you desire. I think it only matters if you don't find a > match: in the <Esc>...i version, I think you end up in Normal mode, while > the <c-o> method leaves you in Insert mode. > > Glad it meets your needs, >
Thanks, that is a good tip. I appreciate the advice! -- 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
