This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 82769535408 Dev: Add tip for easily copying from tmux window (#49798)
82769535408 is described below
commit 827695354082548cc73b8ae5633c595ca780d770
Author: Kaxil Naik <[email protected]>
AuthorDate: Sat Apr 26 02:16:18 2025 +0530
Dev: Add tip for easily copying from tmux window (#49798)
---
dev/breeze/doc/02_customizing.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dev/breeze/doc/02_customizing.rst
b/dev/breeze/doc/02_customizing.rst
index 9f75364edf0..9acccbd8f3d 100644
--- a/dev/breeze/doc/02_customizing.rst
+++ b/dev/breeze/doc/02_customizing.rst
@@ -93,6 +93,12 @@ that you may find helpful.
bind -T root C-S-Up select-pane -U
bind -T root C-S-Down select-pane -D
+ # quickly disable mouse + zoom pane (for easy copying)
+ bind c run-shell "tmux setw mouse off" \; resize-pane -Z \; display-message
"🚫 Mouse disabled & pane zoomed"
+
+ # quickly re-enable mouse + unzoom pane (restore normal behavior)
+ bind v run-shell "tmux setw mouse on" \; resize-pane -Z \; display-message
"🖱️ Mouse enabled & pane unzoomed"
+
Some helpful commands:
- ``ctrl-b + z``: zoom into selected pane
@@ -106,6 +112,10 @@ To copy an entire pane:
- extend selection to end: ``G``
- copy and clear selection: ``enter``
+.. tip::
+
+ You can add the custom bindings (like ``bind c`` and ``bind v``) directly to
``files/airflow-breeze-config/.tmux.conf``.
+ This way they will be automatically loaded when you start a Breeze tmux
session.
Additional tools in Breeze container
------------------------------------