zoukankan      html  css  js  c++  java
  • 使用terminator

    安装terminator:

    sudo apt-get install terminator

    配置terminator:

    配置文件为 ~/.config/terminator/config

    [global_config]
        title_transmit_bg_color = "#d30102"
        focus = system
        suppress_multiple_term_dialog = True
    [keybindings]
    [profiles]
        [[default]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            copy_on_selection = True
            background_image = None
            background_darkness = 0.99
            background_type = transparent
            use_system_font = False
            cursor_color = "#eee8d5"
            foreground_color = "#839496"
            show_titlebar = False
            font = Monospace 12
            background_color = "#002b36"
        [[solarized-dark]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            background_color = "#002b36"
            background_image = None
            cursor_color = "#eee8d5"
            foreground_color = "#839496"
        [[solarized-light]]
            palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
            background_color = "#fdf6e3"
            background_image = None
            cursor_color = "#002b36"
            foreground_color = "#657b83"
    [layouts]
        [[default]]
            [[[child1]]]
                type = Terminal
                parent = window0
                profile = default
            [[[window0]]]
                type = Window
                parent = ""
    [plugins]

    还需要配置dircolors才能显示出彩色的文件和目录.配置文件为 ~/.dircolors. 我选择了https://github.com/seebi/dircolors-solarized中的dircolors.ansi-dark配色. 最终效果如下:

    使用命令:

    • Ctrl-Shift-o 上下拆分屏幕
    • Ctrl-Shift-e 左右拆分屏幕
    • Ctrl-Shift-x 最大小化当前窗口
    • Ctrl-Shift-q 关闭整个终端
  • 相关阅读:
    Java学习资源整理(超级全面)
    Java中的Iterable与Iterator详解
    git使用笔记1:结合Github远程仓库管理项目
    关于LeetCode上链表题目的一些trick
    关于链表中哨兵结点问题的深入剖析
    关于Java中基类构造器的调用问题
    大整数相乘问题总结以及Java实现
    快速排序实现及其pivot的选取
    阿里云服务器部署Java Web项目全过程
    Git 学习总结
  • 原文地址:https://www.cnblogs.com/cfdljc/p/5007954.html
Copyright © 2011-2022 走看看