vim - `:!mutt -f some.mbox` 适用于 Vim 8.1,但在 NeoVim 0.3.1 中返回 `No recipients specified`
问题描述
mutt 命令行开关-f
用于“指定要加载的邮箱”。例如,以下命令加载 MBOX 格式文件some.mbox
:
$ mutt -f some.mbox
(已添加:)我可以从 Vim 8.1 命令行运行它::!mutt -f some.mbox
。
然而,同样的命令,当在 NeoVim 0.3.1 中运行时(是:在 shell 脚本中或在 vim 命令行上)返回:No recipients specified.
我已经在 MacOS 和 Linux 机器上测试过了。在 Web 上搜索许多变体mutt no recipients specified
并没有找到任何线索。
我有一个 Vimscript 函数,它在当前行搜索 MBOX 格式文件的路径名(例如,/Users/foo/some.mbox
)并在 mutt 中调用该文件 - 但仅在 Vim 8.1 中运行时,而不是在 NeoVim 中。
解决方案
推荐阅读
- actframework - 有没有办法等待一个不会阻塞 Act Framework 中执行线程的 Future 完成?
- python - 美丽的汤返回“无”
- tableau-api - Qliksense 中的参数
- javascript - 如何从 Puppeteer 中的 javascript 响应中获取 json 数据:
- c# - 将 JObject 转换为匿名类型
- ruby-on-rails - 如何在rails中按状态在仪表板过滤器上添加分页
- python - Python:CVXPY SolverError
- ios - 为什么标签上的文字不会出现在实际设备上,但会出现在模拟器中?(Xcode)
- r - 在ggplot中添加趋势线作为附加图例
- ant - 具有标签列表时更新 xml 文件的 Ant 任务