dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 5cacbb6fe8a94e361b29f8f3107f7f1be196b1c3
parent 9580f50ebb21722baeea8cfb55bb8a7c5ec64c41
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri, 10 May 2024 14:18:37 -0700

tmux: Add shortcuts for commonly-used layouts

C-b + ^: Main pane on left with two vertically-stacked splits on right.
C-b + \: Three evenly-spaced splits side-by-side.

Diffstat:
M.config/tmux/tmux.conf | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf @@ -12,6 +12,10 @@ bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'y' send-keys -X copy-selection bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle +# frequently used layouts +bind-key -T prefix ^ split-window -h\; split-window -v +bind-key -T prefix \\ split-window -h\; split-window -h\; select-layout even-horizontal + # disable mouse set-option -g mouse off