在 Vim 中切换回上一个窗口的快捷方式? [英] Shortcut for switching back to last window in Vim?
本文介绍了在 Vim 中切换回上一个窗口的快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Ctrlw1w 切换到第一个窗口.
如果目前我经常在几个窗口中的两个窗口中进行编辑,切换回最后一个活动窗口的快捷方式将是完美的.
If currently I frequently edit in two of several windows, a shortcut for switching back to the last active window would be perfect.
有这样的捷径吗?
推荐答案
你尝试了吗
<c-w><c-p>
?
来自帮助:
CTRL-W p *CTRL-W_p* *CTRL-W_CTRL-P*
CTRL-W CTRL-P Go to previous (last accessed) window.
*CTRL-W_P* *E441*
CTRL-W P Go to preview window. When there is no preview window this is
an error.
{not available when compiled without the |+quickfix| feature}
这篇关于在 Vim 中切换回上一个窗口的快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文