ubuntu下配置terminator

Ubuntu 中默认使用的 shell 终端工具是 gnome-terminal,虽然它已经很好用了,但有时还是无法满足我们程序员各种各样的需求,例如在同一个窗口中启动多个终端!

但是!Terminator 就可以完美地实现了在 Ubuntu在同一窗口中启动多个终端,并且可以自由的在一个窗口中分割区域建立新终端,还可以通过鼠标拉伸调整每个终端的大小。

安装

Terminator的安装很简单

sudo apt-get update

sudo apt-get install terminator

安装Vim

我在网上找了Terminator的config,原意是想直接替换原有的配置项,但是发现ubuntu在vi下会把上下左右识别为ABCD,所以这里需要安装Vim

sudo apt-get remove vim-common

sudo apt-get install vim

如果直接install vim是有问题的,因为可能之前已经存在vim-common,可能存在不匹配的问题,还有就是更换源也会出现这个问题,所以先要干掉vim-common

配置

我自己简单的配置了一下,最终的config文件($USER_HOME/.config/terminator)如下所示:

[global_config]

  suppress_multiple_term_dialog = True

  title_font = Sans 12

  title_inactive_fg_color = "#888a85"

  title_receive_fg_color = "#73d216"

  title_transmit_fg_color = "#c80003"

  title_use_system_font = False

  window_state = maximise

[keybindings]

[layouts]

  [[default]]

    [[[child1]]]

      parent = window0

      type = Terminal

    [[[window0]]]

      parent = ""

      type = Window

[plugins]

[profiles]

  [[default]]

    background_color = "#2d2d2d"

    cursor_color = "#aaaaaa"

    show_titlebar = False

    use_system_font = False

你可能感兴趣的:(ubuntu下配置terminator)