summaryrefslogtreecommitdiffstats
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf42
1 files changed, 18 insertions, 24 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 8b6559e..4f2ccc5 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -1,7 +1,8 @@
# Opciones basicas
set -gs default-terminal "tmux-256color" # Optional
+set -gas terminal-overrides ",*:RGB"
set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
-set -g set-titles-string "#S > #{=-15:?window_name,#{window_name},#{s/ghoul/home/:?pane_current_path,#{b:pane_current_path},}} (#T)"
+set -g set-titles-string "#S > #{#{window_name},#{s/ghoul/home/:?pane_current_path,#{b:pane_current_path},}} (#T)"
set -g mode-keys vi
set -g history-limit 102400
set -sg escape-time 0
@@ -27,27 +28,6 @@ set -wg main-pane-width 80
set -g monitor-activity on
set -g bell-action none
-# Statusbar
-set -g set-titles on
-set -g pane-border-status top
-set -g status-position top
-set -g pane-border-style bg=default,fg=colour0
-set -g pane-active-border-style bg=default,fg=colour0
-set -g mode-style fg=colour0,bg=colour100
-set -g message-command-style bg=colour0,fg=colour13
-set -g message-style bg=default,fg=colour7
-set -g status-style bg=green,fg=black
-set -g status-left ''
-set -g status-left-length 140
-set -g status-justify left
-set -g status-right '#{online_status} %F %R '
-set -g window-status-separator ''
-set -g window-status-style bg=colour0,fg=colour243
-set -g window-status-current-style bg=default,fg=default
-set -g window-status-activity-style bg=colour8,fg=colour11
-set -g window-status-format ' #W#F '
-set -g window-status-current-format ' #W#F '
-
# Limpiar atajos
unbind-key C-b
unbind-key '"'
@@ -89,8 +69,6 @@ bind-key Right select-pane -R
# Ventanas
bind-key < previous-window
bind-key > next-window
-bind-key [ swap-window -t :-1 -d
-bind-key ] swap-window -t :+1 -d
bind-key Enter new-window
bind-key w choose-tree -Zw "swap-window -t '%%'"
bind-key p choose-tree -Zw "swap-pane -t '%%'"
@@ -102,6 +80,22 @@ bind-key P capture-pane -S -32768 \; save-buffer "/tmp/printscreen" \; delet
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
bind-key v capture-pane \; save-buffer /tmp/tmux-buffer \; delete-buffer \; display-popup -w 80% -h 60% -E "cmixer"
+# Statusbar
+set -g set-titles on
+set -g status-position top
+set -g pane-border-style bg=default,fg=colour3
+set -g pane-active-border-style bg=default,fg=colour3
+set -g mode-style fg=colour0,bg=colour100
+set -g message-command-style bg=colour0,fg=colour13
+set -g message-style bg=default,fg=colour7
+set -g status-style bg=default,fg=green
+set -g status-left ''
+set -g status-justify left
+set -g status-right ' #{pane_title} #{online_status} %F %R '
+set -g window-status-separator ' | '
+set -g window-status-current-style bg=default,fg=colour11
+set -g window-status-activity-style bg=default,fg=colour14
+
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-online-status'
Un proyecto texto-plano.xyz