"<i{" - when issued from a function - is not repeatable via "."

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

"<i{" - when issued from a function - is not repeatable via "."

Wiere Neuer
Contrary to e.g. ":normal! <i{" (or "<i{" for that matter)".", repetition doesn't work when issued from a function (in which case the last input command is repeated):

> gvim in.c
:so in.vim
/xxx
iyy<Esc>
:normal! <i{
.
.
=== OK ===
u
u
u
/xxx
<<
.
.
=== DIFFERENT ===

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

in.c (107 bytes) Download Attachment
in.vim (99 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "<i{" - when issued from a function - is not repeatable via "."

Bram Moolenaar

Axel Bender wrote:

> Contrary to e.g. ":normal! <i{" (or "<i{" for that matter)".",
> repetition doesn't work when issued from a function (in which case the
> last input command is repeated):
>
> > gvim in.c
> :so in.vim
> /xxx
> iyy<Esc>
> :normal! <i{
> .
> .
> === OK ===
> u
> u
> u
> /xxx
> <<
> .
> .
> === DIFFERENT ===

This works as intended.  See  :help function-search-undo

--
hundred-and-one symptoms of being an internet addict:
260. Co-workers have to E-mail you about the fire alarm to get
     you out of the building.

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...