cleaning tmux.conf

This commit is contained in:
Harri Lahtinen 2019-05-15 21:53:11 +03:00
parent a14792512f
commit 9ee4b287e3
1 changed files with 2 additions and 25 deletions

View File

@ -13,14 +13,6 @@
source-file minimalist source-file minimalist
# use vim motion keys while in copy mode # use vim motion keys while in copy mode
setw -g mode-keys vi 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 # Reset Prefix
@ -35,41 +27,27 @@ bind-key a send-prefix # for nested tmux sessions
set-option -g history-limit 10000 set-option -g history-limit 10000
# colors # colors
setw -g mode-bg black set -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color"
set-option -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color"
set-option -g pane-active-border-fg green
# basic settings # basic settings
set-window-option -g xterm-keys on # for vim set-window-option -g xterm-keys on # for vim
set-window-option -g mode-keys vi # vi key set-window-option -g mode-keys vi # vi key
set-window-option -g monitor-activity on 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 # Automatically set window title
setw -g automatic-rename 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/ # 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 mouse on
set -g history-limit 30000 set -g history-limit 30000
set -g terminal-overrides 'xterm*:smcup@:rmcup@' set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# vi movement keys # vi movement keys
# set-option -g status-keys vi set-option -g status-keys vi
############################################################################ ############################################################################
# Status Bar # 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-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-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 set -g status-interval 1
@ -131,7 +109,6 @@ bind -n M-Down select-pane -D
############################################################################ ############################################################################
# windows # windows
############################################################################ ############################################################################
set-window-option -g window-status-current-bg red
bind C-j previous-window bind C-j previous-window
bind C-k next-window bind C-k next-window
bind-key C-a last-window # C-a C-a for last active window bind-key C-a last-window # C-a C-a for last active window