dotfiles/.tmux.conf##os.Linux,hostna...

31 lines
609 B
Plaintext
Raw Normal View History

2016-12-15 00:30:09 -05:00
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# Initialize sesions
bind W source-file ~/.tmux/work
2016-12-15 00:30:09 -05:00
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# spliting windoww
unbind %
unbind '"'
bind | split-window -h
bind - split-window -v
# sync panes
2023-06-07 04:27:23 -04:00
unbind b
bind b setw synchronize-panes
2023-06-07 04:27:23 -04:00
2023-06-15 08:13:09 -04:00
# reset working dir for session
unbind h
bind h attach-session -t . -c "#{pane_current_path}"
2016-12-15 00:30:09 -05:00
# status bar
2016-12-15 00:51:48 -05:00
set -g status-right '%H:%m %d-%b-%y '