You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,50 @@ Press `Ctrl+L` in the affected pane to clear the screen.
187
187
-**One feature per pane** for clean separation of work
188
188
-**Close unused panes** with `x` to keep the interface clean
189
189
190
+
## tmux Configuration for Beginners
191
+
192
+
While cmux handles most tmux operations automatically, having a good tmux configuration can enhance your experience. This isn't the place to learn tmux comprehensively, but here's a helpful configuration to get you started.
193
+
194
+
### Recommended tmux Configuration
195
+
196
+
Add this to your `~/.tmux.conf` file:
197
+
198
+
```bash
199
+
# Visual distinction between active and inactive panes
200
+
set -g window-style 'fg=colour247,bg=colour236'
201
+
set -g window-active-style 'fg=default,bg=colour234'
202
+
203
+
# Pane borders
204
+
set -g pane-border-style "fg=colour238 bg=default"
205
+
set -g pane-active-border-style "fg=blue bg=default"
206
+
207
+
# Status bar styling
208
+
set -g status-style 'bg=colour236'
209
+
210
+
# Keyboard shortcuts for pane navigation
211
+
# Hold Ctrl+Shift and use arrow keys to move between panes
212
+
bind -n C-S-Left select-pane -L
213
+
bind -n C-S-Right select-pane -R
214
+
bind -n C-S-Up select-pane -U
215
+
bind -n C-S-Down select-pane -D
216
+
217
+
# Enable mouse support (click panes, resize with mouse)
218
+
set -g mouse on
219
+
```
220
+
221
+
### Key Features of This Configuration
222
+
223
+
-**Visual Feedback**: Active panes have a darker background and blue border
224
+
-**Easy Navigation**: Hold `Ctrl+Shift` and use arrow keys to switch between panes instantly
225
+
-**Mouse Support**: Click on panes to focus them, drag borders to resize
226
+
227
+
After adding this configuration, reload tmux:
228
+
```bash
229
+
tmux source-file ~/.tmux.conf
230
+
```
231
+
232
+
Or start a new tmux session for the changes to take effect.
0 commit comments