customize tmux
This commit is contained in:
parent
a4ad253356
commit
5ef2891fd6
@ -1,17 +1,25 @@
|
|||||||
set -g prefix C-b
|
set -g prefix C-b
|
||||||
|
|
||||||
# pane navigation
|
# pane navigation
|
||||||
|
bind | split-window -h -c "#{pane_current_path}"
|
||||||
|
bind _ split-window -v -c "#{pane_current_path}"
|
||||||
bind -r C-h select-pane -L # move left
|
bind -r C-h select-pane -L # move left
|
||||||
bind -r C-j select-pane -D # move down
|
bind -r C-j select-pane -D # move down
|
||||||
bind -r C-k select-pane -U # move up
|
bind -r C-k select-pane -U # move up
|
||||||
bind -r C-l select-pane -R # move right
|
bind -r C-l select-pane -R # move right
|
||||||
bind | split-window -h -c "#{pane_current_path}"
|
|
||||||
bind _ split-window -v -c "#{pane_current_path}"
|
bind -r C-n next-window
|
||||||
|
bind -r C-p previous-window
|
||||||
|
|
||||||
|
|
||||||
set-option -g status off
|
set -g status-right '%d.%m.%Y %H:%M'
|
||||||
set -g status-bg black
|
|
||||||
set -g status-fg white
|
set -g status-style 'bg=default,fg=white'
|
||||||
|
set -g window-status-style 'bg=default'
|
||||||
|
set -g window-status-current-style 'bg=white,fg=black bold'
|
||||||
|
|
||||||
|
set -g message-style 'fg=black bg=white bold'
|
||||||
|
set-option -g bell-action none
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set-option -g repeat-time 0
|
set-option -g repeat-time 0
|
||||||
@ -35,7 +43,7 @@ bind-key -T prefix C-x confirm-before -p "lock tmux? (y/n)" lock-session
|
|||||||
|
|
||||||
bind-key C-v copy-mod
|
bind-key C-v copy-mod
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
bind C-p paste-buffer
|
bind p paste-buffer
|
||||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
bind-key -T copy-mode-vi c send-keys -X clear-selection
|
bind-key -T copy-mode-vi c send-keys -X clear-selection
|
||||||
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
||||||
@ -44,8 +52,5 @@ bind-key -T copy-mode-vi V send-keys -X rectangle-toggle
|
|||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
set -g set-titles-string '#S:#I.#P #W'
|
set -g set-titles-string '#S:#I.#P #W'
|
||||||
|
|
||||||
setw -g monitor-activity on
|
|
||||||
set -g visual-activity on
|
|
||||||
|
|
||||||
setw -g clock-mode-colour green
|
setw -g clock-mode-colour green
|
||||||
setw -g clock-mode-style 24
|
setw -g clock-mode-style 24
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user