Hello!
I'd like to do
imap ... = ...=c-o:somethingcr
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
Antony Scriven wrote:
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
Hmm -- I definitely have a blind spot with c-r= stuff. Thanks, Antony
-- I think it just
On 15/08/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
Hello!
I'd like to do
imap ... = ...=c-o:somethingcr
however, . no longer repeats the small change. For example:
imap = =c-o:echo hello!cr
work with the following file contents:
abc;
def;
Place
Bram Moolenaar wrote:
Charles Campbell wrote:
I'd like to do
imap ... = ...=c-o:somethingcr
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; --
Tony asked:
Bram Moolenaar wrote:
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.
I don't find Ctrl-G Ctrl-O under :help ins-special-special