Charles Campbell wrote:
> I'd like to do > > imap ... = ...=<c-o>:something<cr> > > however, "." no longer repeats the small change. For example: > > imap = =<c-o>:echo "hello!"<cr> > > work with the following file contents: > > abc; > def; > > Place cursor on the semicolon with "abc;" -- insert > =2 > > Now put the cursor on the semicolon with "def;" and press "." . > All you get is > > def 2; > > Now, if there was a dotjoin: > > imap = =<c-o>:dotjoin<bar>echo "hello!"<cr> > > just might work! How about using CTRL-G CTRL-O for going to Normal mode without breaking the current Insert in two? It would only work when the cursor didn't move and the text isn't changed. -- If you feel lonely, try schizophrenia. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---