linux-tabby终端工具记录

linux-tabby终端工具记录


前篇


配置 ssh 远端服务器

  • settings -> profiles & connections -> new profile

    image-20220925201018089


文件传输

使用的 sftp 传输

  • 点击右上角的 SFTP 调出 上传下载窗口

    image-20220925201556808


Gitee 同步配置

  1. tabby 中安装 sync-config 插件, 安装完后重启客户端

    image-20220927171030758

  2. 在 Gitee 上生成 token 和 gists 仓库

    1. 生成 token

      image-20220927171214966

      然后复制 token

    2. 生成 gists 仓库

      image-20220927171349210

      地址的最后一部分就是 gist id

      image-20220927171428029

  3. 将上面获取到的 token 和 gist id 分别填进去,就可以上传下载了

    image-20220927171645960


快捷键

  • ctrl + h/. : 向 前/后 切换页签 (就像 caplock+ 选中单词)
  • ctrl + t : 在当前 panel 重新打开新的 终端
  • ctrl + w : 关闭焦点所在的 panel
  • ctrl + \ : 在当前 tab 里向右分屏出新 panel
  • ctrl + alt + [/] : 当前 tab 里的焦点向 左/右 panel 切换
  • ctrl + shift + , : 将所有 tab 合并到一个 tab 的不同 panel
  • ctrl + shift + . : 将当前焦点所在的 panel 分离到一个新 tab
  • alt + page up/down : 向 上/下 翻页
  • alt + home/end : 光标移到 行 首/尾

tab 与 panel

  • 红色部分 是 tab, 绿色部分是 panel

    image-20220928102036551


配置 git bash

如果安装 tabby 前就已经安装了 git, 那么 tabby 会自动监测到. 如果没有则需要自己创建

  • settings -> profiles & connections -> new prfoles

    image-20220928180318966

    • Command Line: d:\\Git\\bin\\bash.exe --login -i

      表示在当前目录打开 bash


使用技巧

点击路径打开文件夹

  • 点击

    image-20220927191019954


窗口拆分

  • 可以去快捷键那里找, 或者设置, 搜索: split to

    image-20240724130305155

  • 效果

    image-20240724130433685