mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-14 18:29:37 +00:00
Andrei Jiroh Halili
2667c38f2d
The tmux config for byobu was copied from my dotfiles-legacy repo at
4932864903/item/config/tmux/main.conf
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
30 lines
962 B
Bash
30 lines
962 B
Bash
# make sure we can magically source config changes via <prefix>+R shortcut.
|
|
bind r source-file ~/.byobu/.tmux.conf
|
|
|
|
# split to either horizontally or vertically
|
|
bind h splitw -h
|
|
bind v splitw -v
|
|
## Quick shortcuts btw for some tools as new windows ##
|
|
bind -n M-h new-window htop
|
|
bind -n M-m new-window mocp
|
|
bind -n M-l new-window lynx
|
|
# Since M-p is parked for something else, we add Ctrl before Alt/Meta as a workaround.
|
|
bind -n C-M-p new-window pamix
|
|
bind -n M-n new-window nano
|
|
# also works via the default <prefix>+c
|
|
bind -n M-z new-window
|
|
bind t select-layout tiled
|
|
|
|
# adopt some bloody shortcuts from Terminator
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|
|
|
|
# activity monitoring
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# use mouse on tmux, and a bit to tweaks, since I'm using an terminal emulator/gotty most of the time
|
|
set -g mouse on
|
|
#set -g mouse-select-pane on
|