diff --git a/README.md b/README.md index b96303c..d323aec 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ sesh includes built-in keybindings for switching between panes: |-----|--------| | `Alt+1` | Focus the AI pane (left) | | `Alt+2` | Focus lazygit (right) | +| `Ctrl+f` | Toggle focused pane fullscreen (collapse/expand lazygit) | | `Ctrl+q` | Detach from the session (keeps it running) | These are embedded in the session layout and won't interfere with your global Zellij config. Use `Ctrl+q` to close the window — your session stays alive in the background and you can reattach later. diff --git a/functions/sesh.fish b/functions/sesh.fish index 2e7b454..69aedd3 100644 --- a/functions/sesh.fish +++ b/functions/sesh.fish @@ -109,6 +109,7 @@ keybinds { shared { bind \"Alt 1\" { MoveFocus \"left\"; } bind \"Alt 2\" { MoveFocus \"right\"; } + bind \"Ctrl f\" { ToggleFocusFullscreen; } bind \"Ctrl q\" { Detach; } } } diff --git a/sesh.sh b/sesh.sh index cd90dd2..b1f6b38 100644 --- a/sesh.sh +++ b/sesh.sh @@ -114,6 +114,7 @@ keybinds { shared { bind "Alt 1" { MoveFocus "left"; } bind "Alt 2" { MoveFocus "right"; } + bind "Ctrl f" { ToggleFocusFullscreen; } bind "Ctrl q" { Detach; } } }