在屏幕中的窗口之间移动

发布于 2024-07-26 22:12:46 字数 324 浏览 3 评论 0原文

我在 .screenrc 中有以下内容,

 # I want to use Vim's navigation keys
 bind h focus down
 bind t focus up                                                                  

我希望能够通过 Ctrl-A t 移动到下一个窗口,同时通过 Ctrl-A h 移动到上一个窗口。

然而,上面的映射对我来说不再起作用了。

如何在屏幕中的窗口之间移动?

I have the following in .screenrc

 # I want to use Vim's navigation keys
 bind h focus down
 bind t focus up                                                                  

I would like to be able to move by Ctrl-A t to a next window, while by `Ctrl-A h to the previous window.

However, the above mappings do not work anymore for me.

How can you move between windows in Screen?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橘虞初梦 2024-08-02 22:12:46
bind h prev
bind t next
bind h prev
bind t next
〃安静 2024-08-02 22:12:46

如果您启动 screen 然后输入 Ctrl-A ?,您将看到帮助页面,其中列出了下一个 [n] 和上一个 [p]。 我相信绑定到下一个和上一个而不是焦点将达到你想要的效果。

If you start screen then type Ctrl-A ?, you'll see the help page, which lists next [n] and prev [p]. I believe that binding to next and prev instead of focus will do what you want.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文