vscode 终端

打卡终端

  • control + ,
    直接打开面板菜单的终端菜单
    默认是 control + `,需要改键
  • command + j
    打开底部的面板,当前在哪个菜单就打开哪个菜单

清空

  • command + k

分屏

  • command + \

终端分屏窗口切换

打开键盘快捷方式搜索下面两个
workbench.action.terminal.focusNextPane
修改为
command + ]

workbench.action.terminal.focusPreviousPane
修改为
command + [

关闭当前终端窗口

  • shift alt + q
    搜索
    workbench.action.terminal.kill
    配置快捷键为
    shift alt + q

新建一个新的终端窗口

  • shift alt + n
    搜索
    workbench.action.terminal.new
    改为
    shift alt + n

窗口的切换(非分屏情况下的)终端组的切换

  • shift + command + [ 或 ]

在 vscode 里打开 iterm 终端窗口

默认打开的是 mac 自带的终端
我们需要做如下配置:

  • settings.json
    "terminal.external.osxExec": "iTerm.app"
  • shift command + c
    打开的终端的路径就是当前的项目路径

iterm 终端

  • 新建分屏(左右)
    command d

  • 新建分屏(上下)
    command + shift + d

  • 新建窗口
    command + t

  • 关闭窗口
    command + w

  • 左右屏切换
    command + [ 或 ]

  • 全屏切换
    command + 回车

直接在vscode 里打开 iterm 并且开启 lazygit

1). 安装 lazygit 插件
2). 安装 ttab

npm i ttab -g

3). 设置 settings.json

    "quickOpenLazygit.useITerm": true

先使用 command shift + c 打开 iterm 窗口
再使用 command g + o

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容