Skip to content

Instantly share code, notes, and snippets.

@henry0312
Created July 5, 2026 03:17
Show Gist options
  • Select an option

  • Save henry0312/2cd8af0e3ed83eb0f185388728bbb97e to your computer and use it in GitHub Desktop.

Select an option

Save henry0312/2cd8af0e3ed83eb0f185388728bbb97e to your computer and use it in GitHub Desktop.
~/.config/herdr/config.toml
[keys]
# F12をエスケープ(prefix)にしてbyobuに寄せる。
# 不安なら "ctrl+b" のままでも下のFキーは効く。
prefix = "f12"
# --- タブ操作 ---
new_tab = ["f2", "prefix+c"]
previous_tab = ["f3", "prefix+p"]
next_tab = ["f4", "prefix+n"]
rename_tab = ["f8", "prefix+shift+t"]
# --- セッション ---
detach = ["f6", "prefix+q"]
copy_mode = ["f7", "prefix+["]
# --- ペイン分割 ---
split_horizontal = ["shift+f2", "prefix+minus"] # 上下
split_vertical = ["ctrl+f2", "prefix+v"] # 左右
close_pane = ["ctrl+f6", "prefix+x"]
# --- ペイン間フォーカス (byobuのShift+方向キー) ---
focus_pane_left = ["shift+left", "prefix+h"]
focus_pane_down = ["shift+down", "prefix+j"]
focus_pane_up = ["shift+up", "prefix+k"]
focus_pane_right = ["shift+right", "prefix+l"]
# --- F5=プロファイル再読込 の代替 ---
[[keys.command]]
key = "f5"
type = "shell"
command = "herdr server reload-config"
description = "reload config (byobu F5)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment