更改 Unix INFO 命令的编辑器
目前我的“info”命令使用 Emacs 作为其默认编辑器。
$ info printf
有没有办法把它改成Vi/Vim?
Currently my "info" command uses Emacs as its default editor.
$ info printf
Is there a way to change it into Vi/Vim?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我能看到的你最大的希望是使用 --vi-keys 命令开关运行它,它“使用类似 vi 和不太类似的键绑定”。 不幸的是,我没有看到任何其他可以对你有帮助的东西。
Your best hope that I can see is to run it with the --vi-keys command switch, which "uses vi-like and less-like key bindings". Unfortunately, I don't see anything else that can be of help to you.
你需要一些能够理解 TexInfo 的东西,但我不相信 Vi/Vim 能理解。 您可能只是被 emacs 困住了。 更多信息请访问维基百科。
You need something that understands TexInfo, which I don't believe Vi/Vim does. You might just be stuck with emacs. More info at wikipedia.
尝试将 VISUAL 和 EDITOR 环境变量设置为 Vim 的完整路径。
Try to set the VISUAL and EDITOR environment variables to the full path of Vim.