vi 新窗口设置

vi 新窗口设置

我正在使用 Terminator 作为我的终端模拟器。每当我打开它时,初始工作区都会带有我在配置文件中定义的设置。但每当我拆分工作区时,新工作区都会带有默认设置。这是我的配置文件的一部分:

[global_config]
  enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
  focus = mouse
  title_transmit_fg_color = "#000000"
  sticky = True
[keybindings]
  new_tab = <Ctrl>n
  next_tab = <Ctrl>Right
  split_vert = <Ctrl>v
  split_horiz = <Ctrl>h
  prev_tab = <Ctrl>Left
[profiles]
  [[default]]
  [[solarized-light]]
    palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#dc322f:#2aa198:#93a1a1"
    use_system_font = False
    cursor_color = "#002b36"
    foreground_color = "#002b36"
    show_titlebar = False
    background_color = "#eee8d5"
  [[solarized-dark]]
    palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#dc322f:#2aa198:#93a1a1"
    use_system_font = False
    cursor_color = "#eee8d5"
    foreground_color = "#eee8d5"
    show_titlebar = False
    background_color = "#002b36"
  [[Noor]]
[layouts]
  [[default]]
    [[[child]]]
      type = Terminal
      parent = window0
      profile = solarized-dark
    [[[window0]]]
      type = Window
      parent = ""
      profile = solarized-light
[plugins]
~              

答案1

我认为新的拆分或选项卡将始终使用默认配置文件,并忽略布局。布局似乎只适用于新窗口。

不幸的是,文档和手册页没有提供更多详细信息供我参考。

相关内容