macvim-dev / macvim-dev/macvim
Client Server mode does not work in non-GUI macvim
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
If I startup MacVim in GUI mode with: mvim --remote
The first time, I get a message:
E247: no registered server named "VIM": Send failed. Trying to execute locally
This is expected, as MacVim wasn't running yet.
Now with MacVim (GUI) running, from a terminal I can do: mvim --serverlist
and I see: VIM as a VIM server that is available.
If I do the same thing, but instead of running the GUI MacVim, I run it in a terminal window I get:
E247: no registered server named "VIM": Send failed. Trying to execute locally
Which again is expected. But apparently no server is actually started.
When I do: vim --serverlist
There is no server found, it just exits without printing anything.
If, from that same terminal I try to do: vim --servername VIM --remote <some_file>
I get the same message as above that there is no registered server named "VIM", and
a new vim is started up.
I have verified that 'mvim' and 'vim' are both running MacVim as installed via homebrew.
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 13 2018 21:01:05)
macOS version
Included patches: 1-1522
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用提到的 mvim 和 vim 命令重现该行为,尤其是在 GUI 和终端模式下测试 --serverlist、--servername VIM 和 --remote。比较服务器注册路径和远程发送路径,并在终端模式的 MacVim 注册服务器并按描述接受远程文件请求后,认为该 issue 已完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- vim
- 领域
- cli, desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100