rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Macro not recorded on server for commands sent via client/server protocol #391

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm controlling a mvim window (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 is supposed to record a macro in register "a" that moves the cursor 2 
characters left and replaces the current character with "X". Simple enough, and 
when I send this via the client, the server runs the commands (when the macro 
is being recorded, the status bar of the server even says "--recording--").

BUT, the server doesn't record the macro into register "a". When switch to the 
server and issue "@a" there, nothing happens. When I look at the output of 
":registers" command, register "a" is listed but is empty. When I record the 
same macro on the server, register "a" gets filled in and "@a" works.

Reproducible always. MacVim 7.3 (2010 Aug 15) p1-353

Original issue reported on code.google.com by mislav.m...@gmail.com on 30 Nov 2011 at 2:29

GoogleCodeExporter commented 9 years ago
This seems to be a core Vim issue.  Please report it to the vim_dev Google 
group.  Thank you.

Original comment by bjorn.winckler@gmail.com on 30 Nov 2011 at 9:03