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 -- Bram@Moolenaar.net -- 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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, July 26, 2017
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment