zoukankan      html  css  js  c++  java
  • Iterm2多窗口同时输入命令-转载

    Iterm2多窗口同时输入命令

    https://jacoobwang.github.io/2018/06/28/Iterm2%E5%A4%9A%E7%AA%97%E5%8F%A3%E5%90%8C%E6%97%B6%E8%BE%93%E5%85%A5%E5%91%BD%E4%BB%A4/ 

    可能很多人都遇到过类似的问题:使用 iTerm2 时打开了多个窗口,却在改动配置后需要在每个窗口依次执行 source 指令以激活改动的配置。

    其实,iTerm2 支持向多窗口(当前打开的所有窗口)同时输入相同的指令。只需要输入快捷键 ⌘(command) + ⇧(shift) + i。默认会跳出告警提示窗口:

    可以勾选 Suppress this message permanently 取消告警,并 OK 确认。这时每个窗口右上角都会出现图标表示当前已激活向所有窗口输入指令。

    关闭该功能的方式是再次输入快捷键 ⌘(command) + ⇧(shift) + i 即可。

    iTerm 常用快捷键

      • ⌘(command) + t 新建tab页
      • ⌘(command) + d 水平分屏
      • ⌘(command) + 左右方向键 切换标签
      • ⌘(command) + ; 查看历史命令
      • ⌘(command) + ⇧(shift) + d 垂直分屏
      • ⌘(command) + ⇧(shift) + e 显示时间线
      • ⌘(command) + ⇧(shift) + h 查看剪贴板历史
      • 同时可以实现的效果:

  • 相关阅读:
    Linux 中 /proc/meminfo 的含义
    Linux OOM-killer(内存不足时kill高内存进程的策略)
    java反射
    IDEA 创建Web项目
    centos7 源码安装php7
    linux 基本原则和常用命令
    ls file less
    centos7安装nginx1.10.1
    mysqlworkbench访问远程服务器
    redis 简单的注册
  • 原文地址:https://www.cnblogs.com/zafu/p/14393986.html
Copyright © 2011-2022 走看看