Last active
April 12, 2020 22:36
-
-
Save neodevelop/3747353 to your computer and use it in GitHub Desktop.
Tmux config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g default-command "reattach-to-user-namespace -l ${SHELL}" | |
set -g prefix C-a | |
unbind C-b | |
set -sg escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
bind r source-file ~/.tmux.conf \; display "Configuración recargada" | |
bind C-a send-prefix | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
bind -r H resize-pane -L 5 | |
bind -r J resize-pane -D 5 | |
bind -r K resize-pane -U 6 | |
bind -r L resize-pane -R 5 | |
setw -g mouse off | |
# set -g mouse-select-pane off | |
# set -g mouse-resize-pane off | |
# set mouse-select-window off | |
set -g default-terminal "screen-256color" | |
set -g status-fg white | |
set -g status-bg black | |
setw -g window-status-style fg=cyan | |
setw -g window-status-style bg=default | |
setw -g window-status-style dim | |
setw -g window-status-current-style fg=white | |
setw -g window-status-current-style bg=red | |
setw -g window-status-current-style bright | |
set -g pane-border-style fg=green | |
set -g pane-border-style bg=black | |
set -g pane-active-border-style fg=white | |
set -g pane-active-border-style bg=yellow | |
set -g message-style fg=white | |
set -g message-style bg=black | |
set -g message-style bright | |
set -g status-left-length 40 | |
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P" | |
set -g status-right "#[fg=cyan]%d %b %R" | |
# setw -g utf8 on | |
# set -g status-utf8 on | |
set -g status-interval 60 | |
set -g status-justify centre | |
setw -g monitor-activity on | |
set -g visual-activity on | |
setw -g mode-keys vi | |
unbind [ | |
bind Escape copy-mode | |
unbind p | |
bind-key p paste-buffer | |
bind [ copy-mode | |
bind-key -Tcopy-mode-vi 'v' send -X begin-selection | |
bind-key -Tcopy-mode-vi 'y' send -X copy-selection "reattach-to-user-namespace pbcopy" | |
bind-key -Tcopy-mode-vi 'Escape' send -X cancel | |
bind ] paste-buffer | |
# buffer | |
bind Space choose-buffer | |
bind-key -n C-k send-keys -R \; clear-history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment