cleaning tmux.conf
This commit is contained in:
parent
a14792512f
commit
9ee4b287e3
27
.tmux.conf
27
.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
|
||||
|
|
|
|||
Loading…
Reference in New Issue