如何保存和同步 vim 个寄存器(宏)

How to save and sync vim registers (macros)

如何保存和同步 vim 寄存器?我对宏感兴趣,但我知道宏被保存到寄存器中,所以这就是需要同步的内容。

This question 似乎假设我们只在一个工作站上使用 vim,而我需要同步到多个工作站。

我尝试安装 marvim 但没有成功。但我想知道是否有其他项目或方法来完成它,以及是否有人对多台服务器之间的同步有建议。

您可以按照 this quesion on vim stackexchange. That is also suggested in one of the answer of the question you linked. Then you sync your vimrc to all the servers you want with git as described e.g. in this SO question 中的说明将宏保存在 vimrc 中,或者使用您喜欢的任何其他工具。