Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以在我的 bash/zsh 终端中,我有set -o vi. 但后来我需要按 ESC 进入命令模式。我不知道如何使该命令模式成为默认行为?
set -o vi
您可以使用“xdotool”实现该行为。安装它并将其添加到您的 ~/.bashrc 然后
set -o vi xdotool key Escape