guanjz1698
V2EX  ›  macOS

Mac 中 Iterm2 在新桌面“创建新窗口” 的快捷键

  •  
  •   guanjz1698 · Oct 8, 2021 · 2538 views
    This topic created in 1684 days ago, the information mentioned may be changed or developed.

    每次在新桌面想要新建一个窗口都需要把鼠标移动到 dock bar,然后双击 iterm2 选择 new window 。(在同一个桌面可以 command+N,但是不同桌面就没办法这样)。有没有办法使用快捷键实现这个简单的功能呢?

    对于 chrome 我添加了一个自动操作脚本实现这个功能:

    /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --new-window www.google.com
    

    然后在 设置-键盘-快捷键-服务 中设置这个脚本的快捷键即可。

    如何使 iterm2 也能用快捷键在不同的桌面新建窗口呢?

    5 replies    2021-10-08 19:17:42 +08:00
    nanfanglanren
        2
    nanfanglanren  
       Oct 8, 2021
    guanjz1698
        3
    guanjz1698  
    OP
       Oct 8, 2021
    @xxxxzr 谢谢带哥 已经用上~
    guanjz1698
        4
    guanjz1698  
    OP
       Oct 8, 2021
    @hm20062006ok 谢谢带哥
    ooops
        5
    ooops  
       Oct 8, 2021 via iPhone
    全局快捷键调出一个全屏的 terminal 比较好。想多窗口用 tmux 。这一套我用起来还比较爽,你可以试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4058 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 05:23 · PVG 13:23 · LAX 22:23 · JFK 01:23
    ♥ Do have faith in what you're doing.