diff options
| author | Zhineng Li <im@zhineng.li> | 2026-05-28 15:22:27 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-05-28 15:22:27 +0800 |
| commit | 63d78670e5c32c3c8216ddc2c72445f2a32dc7cb (patch) | |
| tree | 26008290e3a8c9c3c4250edaf692567f5b00c076 /.tmux.conf | |
| parent | 7a0127ad58a25260a98fbc8e65f75a65cf6db50a (diff) | |
| download | dotfiles-63d78670e5c32c3c8216ddc2c72445f2a32dc7cb.tar.gz dotfiles-63d78670e5c32c3c8216ddc2c72445f2a32dc7cb.zip | |
setup tmux
Diffstat (limited to '.tmux.conf')
| -rw-r--r-- | .tmux.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..1ed550d --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,31 @@ +# Change the prefix key to Ctrl-Space +set -g prefix C-Space +unbind C-b +bind C-Space send-prefix + +# Toggle the status line with prefix + Space +bind Space set -g status + +# Split the window horizontally with prefix + | +# Split the window vertically with prefix + - +unbind \% +unbind \" +bind | split-window -h +bind - split-window -v + +# Navigate panes with prefix + hjkl +unbind l +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# Start window and pane numbering from 1 instead of 0 +set -g base-index 1 +set -g pane-base-index 1 + +# Show the clock on the right side of the status line +set -g status-right '%H:%M' + +# Use the terminal's default foreground and background colors +set -g status-style fg=default,bg=default |
