On 15/08/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: > Hello! > > 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!
Maybe. Could you use something like this as a workaround? fun! Echo() echo 'hello!' sleep 1 |" just to make the effect visible return '' endfun imap = =<c-r>=Echo()<cr> --Antony --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---