Removing urvt transparency, cleanup tmux config: remove mouse support, fix colors using new style syntax
This commit is contained in:
@@ -19,7 +19,6 @@ bind c new-window -c '#{pane_current_path}'
|
||||
|
||||
# stop tmux from renaming the window every time you run a command
|
||||
set-option -g allow-rename off
|
||||
set-option -g pane-active-border-fg blue
|
||||
|
||||
# select panes with vim keys
|
||||
bind h select-pane -L
|
||||
@@ -39,12 +38,11 @@ set -g mode-keys vi
|
||||
|
||||
# enable mouse control (click wind, panes, resizable panes) - as of tmux 2.1
|
||||
# copy/paste: shift+left click to highlight, then shift+middle to past
|
||||
if-shell '[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]' \
|
||||
'set -g mouse on' \
|
||||
'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
|
||||
## tmux < 2.1
|
||||
#set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on
|
||||
## tmux >= 2.1
|
||||
#set -g mouse on
|
||||
|
||||
#set -g mouse on
|
||||
#'set -g mouse on; set -g mouse-utf8 on' \
|
||||
|
||||
bind-key Tab last-window
|
||||
bind-key BTab previous-window
|
||||
@@ -71,10 +69,8 @@ set-option -g status-right-length 40
|
||||
set-option -g status-right " #[fg=brightwhite,bg=black] %a, %d %b %H:%M #[fg=colour18,bg=colour4] #(whoami)@#h "
|
||||
|
||||
# Pane border
|
||||
set-option -g pane-border-bg default
|
||||
set-option -g pane-border-fg brightblack
|
||||
set-option -g pane-active-border-bg default
|
||||
set-option -g pane-active-border-fg white
|
||||
set-option -g pane-border-style bg=brightblack,fg=brightblack
|
||||
set-option -g pane-active-border-style bg=default,fg=white
|
||||
|
||||
# Pane number indicator
|
||||
set-option -g display-panes-colour brightblack
|
||||
@@ -83,7 +79,3 @@ set-option -g display-panes-active-colour brightwhite
|
||||
# Clock mode
|
||||
set-option -g clock-mode-colour white
|
||||
set-option -g clock-mode-style 24
|
||||
|
||||
# REQUIRES TMUX 2.x
|
||||
# use F12 to move to inner/outer tmux sessions when nested
|
||||
# https://medium.freecodecamp.org/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795
|
||||
|
||||
Reference in New Issue
Block a user