Skip to content

Commit 8276953

Browse files
authored
Dev: Add tip for easily copying from tmux window (#49798)
1 parent 1346ccc commit 8276953

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

dev/breeze/doc/02_customizing.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ that you may find helpful.
9393
bind -T root C-S-Up select-pane -U
9494
bind -T root C-S-Down select-pane -D
9595
96+
# quickly disable mouse + zoom pane (for easy copying)
97+
bind c run-shell "tmux setw mouse off" \; resize-pane -Z \; display-message "🚫 Mouse disabled & pane zoomed"
98+
99+
# quickly re-enable mouse + unzoom pane (restore normal behavior)
100+
bind v run-shell "tmux setw mouse on" \; resize-pane -Z \; display-message "🖱️ Mouse enabled & pane unzoomed"
101+
96102
Some helpful commands:
97103

98104
- ``ctrl-b + z``: zoom into selected pane
@@ -106,6 +112,10 @@ To copy an entire pane:
106112
- extend selection to end: ``G``
107113
- copy and clear selection: ``enter``
108114

115+
.. tip::
116+
117+
You can add the custom bindings (like ``bind c`` and ``bind v``) directly to ``files/airflow-breeze-config/.tmux.conf``.
118+
This way they will be automatically loaded when you start a Breeze tmux session.
109119

110120
Additional tools in Breeze container
111121
------------------------------------

0 commit comments

Comments
 (0)