Am 02.12.2011 15:20, schrieb Mislav Marohnić:
On Wednesday, November 30, 2011 10:59:36 AM UTC+1, Mislav Marohnić wrote:
I'm controlling a macvim instance (the "server") from command-line by
issuing commands via `vim --remote-send` (the "client").
Everything seems to work except recording macros. For instance, I send
this command: "qa2hrXq"
This hasn't got enough attention. Can anyone please just check on their
linux-/windows-compiled vim if they can reproduce it? The issue is that
macros don't get recorded if commands are sent over client/server protocol.
(same here with gVim on win32)
I'm not sure what the reason is.
But macro recording is a special case, you can't do it from a mapping
:map g7 qa1Gq
or from feedkeys()
:call feedkeys('qa1Gq')
(unless 't' is given -- process keys as if typed by the user)
:call feedkeys('qa1Gq', 't')
or while recording a macro.
qbqa...
I think keys from a remote Vim are processed "as if coming from a mapping"
(remote_send() even understands key codes etc).
--
Andy
--
You received this message from the "vim_dev" 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