在Windows平台上使用MSYS时,我"设置-o vi"以使用vi shell模式.文件和目录的选项卡自动完成功能停止工作.如何在保持vi shell模式的同时将其重命名?
Pau*_*ce. 14
尝试:
bind -q complete
Run Code Online (Sandbox Code Playgroud)
看它是否已设定.
要在Bash提示下设置它:
bind '"\C-i":complete'
Run Code Online (Sandbox Code Playgroud)
它应该已经默认设置,但可以在/ 块中覆盖/etc/inputrc或~/.inputrc可能在$if mode=vi/ $endif块内覆盖.您可以通过将以下行添加到~/.inputrc文件中来设置后续shell启动:
"\C-i": complete
Run Code Online (Sandbox Code Playgroud)