tmux fixes
This commit is contained in:
parent
82767c9896
commit
cea2592edc
1 changed files with 15 additions and 7 deletions
16
.tmux.conf
16
.tmux.conf
|
|
@ -14,9 +14,6 @@ set -g status-fg white
|
||||||
set -g status-left ""
|
set -g status-left ""
|
||||||
set -g status-right "#[fg=green]#H"
|
set -g status-right "#[fg=green]#H"
|
||||||
|
|
||||||
# COLORS
|
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
|
|
||||||
# Rather than constraining window size to the maximum size of any client
|
# Rather than constraining window size to the maximum size of any client
|
||||||
# connected to the *session*, constrain window size to the maximum size of any
|
# connected to the *session*, constrain window size to the maximum size of any
|
||||||
# client connected to *that window*. Much more reasonable.
|
# client connected to *that window*. Much more reasonable.
|
||||||
|
|
@ -27,14 +24,25 @@ setw -g aggressive-resize on
|
||||||
bind-key a send-prefix
|
bind-key a send-prefix
|
||||||
|
|
||||||
# Fix control keys through putty
|
# Fix control keys through putty
|
||||||
|
# (It looks like on some versions of tmux this needs to be setw not set.)
|
||||||
set -g xterm-keys on
|
set -g xterm-keys on
|
||||||
|
setw -g xterm-keys on
|
||||||
|
|
||||||
|
# Colors?
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
# Activity monitoring
|
# Activity monitoring
|
||||||
#setw -g monitor-activity on
|
#setw -g monitor-activity on
|
||||||
#set -g visual-activity on
|
#set -g visual-activity on
|
||||||
|
|
||||||
# Example of using a shell command in the status line
|
# Example of using a shell command in the status line
|
||||||
# set -g status-right "#[fg=yellow]#(uptime | cut -d ',' -f 2-)"
|
set -g status-right "#[fg=yellow]#(date)"
|
||||||
|
|
||||||
# Highlight active window
|
# Highlight active window
|
||||||
set-window-option -g window-status-current-bg red
|
set-window-option -g window-status-current-bg red
|
||||||
|
|
||||||
|
# set-window-option -g mouse on
|
||||||
|
set -g history-limit 30000
|
||||||
|
|
||||||
|
# fish!
|
||||||
|
set-option -g default-shell /bin/fish
|
||||||
Loading…
Add table
Add a link
Reference in a new issue