62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
# Support de la souris
|
|
set -g mouse on
|
|
|
|
# Support vim
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind C-a send-prefix
|
|
|
|
# Status bar all
|
|
set -g status-fg colour236
|
|
set -g status-bg colour102
|
|
|
|
# Left
|
|
#set -g status-left-fg black
|
|
set -g status-left '#I:#W'
|
|
|
|
# Right
|
|
#set -g status-right-fg black
|
|
set -g status-right '%a %b %d, %Y %H:%M'
|
|
|
|
# Display
|
|
set -g status off
|
|
bind b set -g status off
|
|
bind B set -g status on
|
|
|
|
# Window options color
|
|
#set-window-option -g window-status-current-fg black
|
|
|
|
# R, recharge la configuration
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
# Window split
|
|
bind / split-window -h
|
|
bind * split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# move
|
|
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
|
|
|
|
# Zoom
|
|
bind + \
|
|
new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \;\
|
|
swap-pane -s tmux-zoom.0 \;\
|
|
select-window -t tmux-zoom
|
|
bind - \
|
|
last-window \;\
|
|
swap-pane -s tmux-zoom.0 \;\
|
|
kill-window -t tmux-zoom
|
|
|
|
# Mouse switch
|
|
bind m set -g mouse off
|
|
bind M set -g mouse on
|
|
|
|
# Copy
|
|
unbind c
|
|
bind v paste-buffer
|
|
|