Terminator: how to open a tab within a splitted pane

雨燕双飞 提交于 2019-12-04 18:34:33

I've been using Terminator for the past 3-4 years, and I haven't seen what you are asking to be possible.

That being said, you may submit a feature request here:

and it may get implemented in a future version.

I'm not sure how much I would use that feature, but could be interesting to try it out.

Edit: I've just realized that there may be some workarounds:

  • Split the pane in question, and drag one of them to be very small. And when you want to "switch tabs" then you can drag the edge again and make the other sub-pane very small. IIRC I've done this occasionally.
  • Try tmux to see if it supports something like what you are after.
  1. Follow this Tutorial to set and save your layout: http://www.linuxnov.com/the-complete-guide-to-configure-terminator-terminal-emulator-layouts/

  2. Next right-click on any split window and choose Preferences, and in the Preferences dialog, Global Tab > Behavior section, check the checkbox called "Window geometry hints".

  3. Edit the ~/.config/terminator/config file. "YOUR-SAVED-LAYOUT" in the config example below refers to the name you gave to you layout after following the steps on the tutorial above. Config file looks like this before you edit:

    [global_config]
      geometry_hinting = True
      title_use_system_font = False
     [keybindings]
     [layouts]
       [[default]]
         [[[child1]]]
           parent = window0
           type = Terminal
         [[[window0]]]
           parent = ""
           type = Window
       [[YOUR-SAVED-LAYOUT]]
         [[[child0]]]
           fullscreen = False
    ...
    ... 
    
  4. Delete the "default" node above so only your layout is left. Example below:

    [global_config]
      geometry_hinting = True
      title_use_system_font = False
    [keybindings]
    [layouts]
      [[YOUR-SAVED-LAYOUT]]
        [[[child0]]]
          fullscreen = False
    ...
    ... 
    
  5. Rename "YOUR-SAVED-LAYOUT" to "default" as follows:

    [global_config]
     geometry_hinting = True
     title_use_system_font = False
    [keybindings]
    [layouts]
      [[default]]
        [[[child0]]]
          fullscreen = False
    ...
    ... 
    
  6. Save the config file and exit.

  7. Close and open Terminator. Your layout should now be default layout and applied everytime you launch Terminator.

NB: There is a bug. i use version 1.90 on debian 9 and it won't launch with the panes in their right position. Close and launch again.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!