From 9ee4b287e3a408ce8a530d95e5c52cee9f60d877 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Wed, 15 May 2019 21:53:11 +0300 Subject: [PATCH] cleaning tmux.conf --- .tmux.conf | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 2d93be3..162aadc 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -13,14 +13,6 @@ source-file minimalist # use vim motion keys while in copy mode setw -g mode-keys vi -#bind-key -T copy-mode-vi v send-keys -X begin-selection -#bind-key -T copy-mode-vi y send-keys -X copy-selection -#bind-key -T copy-mode-vi r send-keys -X rectangle-toggle -#bind-key -t vi-copy y copy-pipe "xclip -sel clip -i" -# -- buffers ------------------------------------------------------------------- -#bind b list-buffers # list paste buffers -#bind p paste-buffer # paste from the top paste buffer -#bind P choose-buffer # choose which buffer to paste from ############################################################################ # Reset Prefix @@ -35,41 +27,27 @@ bind-key a send-prefix # for nested tmux sessions set-option -g history-limit 10000 # colors -setw -g mode-bg black -set-option -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color" -set-option -g pane-active-border-fg green +set -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color" # basic settings set-window-option -g xterm-keys on # for vim set-window-option -g mode-keys vi # vi key set-window-option -g monitor-activity on -set-window-option -g window-status-current-fg white -setw -g window-status-current-attr reverse # Automatically set window title setw -g automatic-rename # use mouse # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ -#setw -g mode-mouse on -#setw -g mouse-resize-pane on -#set -g mouse-select-window on -#set -g mouse-select-pane on set -g mouse on set -g history-limit 30000 set -g terminal-overrides 'xterm*:smcup@:rmcup@' # vi movement keys -# set-option -g status-keys vi +set-option -g status-keys vi ############################################################################ # Status Bar ############################################################################ -#set-option -g status-utf8 on -# info on right -#set -g status-right-length 100 -#set -g status-right '#(~/.config/Scripts/status.sh)' -#set -g status-right '#(rainbarf)#(~/.config/Scripts/status.sh)' -# info on left (no session display) set -g status-left-length 70 set -g status-left " #[fg=black]#h #[fg=black]#(ip addr show dev wlp11s0 | grep "inet[^6]" | awk '{print $2}') Continuum status: #{continuum_status}" set -g status-interval 1 @@ -131,7 +109,6 @@ bind -n M-Down select-pane -D ############################################################################ # windows ############################################################################ -set-window-option -g window-status-current-bg red bind C-j previous-window bind C-k next-window bind-key C-a last-window # C-a C-a for last active window