Skip to content

Commit ab5ae03

Browse files
committed
fix: change tmux prefix to Ctrl+a to match UI
1 parent f69056b commit ab5ae03

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

backend/containers/tmux.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# tmux configuration for learning
2-
# Using Ctrl-b as prefix (default)
2+
# Using Ctrl-a as prefix (easier to reach than Ctrl-b)
3+
unbind C-b
4+
set -g prefix C-a
5+
bind C-a send-prefix
36

47
# Enable mouse support (good for beginners)
58
set -g mouse on
@@ -39,7 +42,9 @@ bind l select-pane -R
3942

4043
# Easier splits (more intuitive)
4144
bind | split-window -h -c "#{pane_current_path}"
45+
bind \\ split-window -h -c "#{pane_current_path}"
4246
bind - split-window -v -c "#{pane_current_path}"
47+
bind _ split-window -v -c "#{pane_current_path}"
4348

4449
# Reload config
4550
bind r source-file ~/.tmux.conf \; display "Config reloaded!"

0 commit comments

Comments
 (0)