Wednesday, July 26, 2017

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

#include <stdio.h>

int main(int argc, char **argv)
{
xxx

return 0;
}
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: