tabnew 在 Gvim 中不工作
tabnew is not working in Gvim
我在 gvim
中打开了一个文件。
当我想在 gvim
中打开另一个文件时,我使用以下命令。
:tabnew `pwd`
然后按 tab 按钮。
但是 tab 并没有扩展 pwd 而是添加了 `^I
:tabnew `pwd`^I^I^I
早些时候它在工作。
`pwd` 不会在 gvim 中扩展,无论我将它与 tabnew
还是 sp
一起使用。
通过在命令行中键入 :set compatible?
,检查 vim 会话中的 compatible
选项
如果结果是:
compatible
: 你需要输入 ctrl+e
nocompatible
:您需要输入 tab 或 ctrl+i
为了得到命令行的扩展。
更多相关信息::help cmdline-completion
我在 gvim
中打开了一个文件。
当我想在 gvim
中打开另一个文件时,我使用以下命令。
:tabnew `pwd`
然后按 tab 按钮。 但是 tab 并没有扩展 pwd 而是添加了 `^I
:tabnew `pwd`^I^I^I
早些时候它在工作。
`pwd` 不会在 gvim 中扩展,无论我将它与 tabnew
还是 sp
一起使用。
通过在命令行中键入 :set compatible?
compatible
选项
如果结果是:
compatible
: 你需要输入 ctrl+enocompatible
:您需要输入 tab 或 ctrl+i
为了得到命令行的扩展。
更多相关信息::help cmdline-completion