Lots of changes.
This commit is contained in:
@@ -1,36 +1,40 @@
|
||||
#set -g default-terminal 'screen-256color'
|
||||
set -g default-terminal 'screen-256color'
|
||||
|
||||
set -g utf8 on
|
||||
set -g status-utf8 on
|
||||
|
||||
set -g default-command "${SHELL}"
|
||||
|
||||
set -g prefix C-a
|
||||
unbind C-b
|
||||
bind C-a send-prefix
|
||||
|
||||
bind-key r source-file ~/.tmux.conf
|
||||
set -s escape-time 0
|
||||
set-window-option -g aggressive-resize on
|
||||
|
||||
setw -g mode-mouse on
|
||||
# set -g mouse-select-pane on
|
||||
# set -g mouse-resize-pane on
|
||||
# set -g mouse-select-window on
|
||||
|
||||
set -g mode-keys vi
|
||||
|
||||
set-option -g renumber-windows on
|
||||
|
||||
bind-key C-a last-window
|
||||
|
||||
bind-key k confirm kill-window
|
||||
bind-key K confirm kill-server
|
||||
|
||||
bind / command-prompt "split-window -h 'exec man %%'"
|
||||
bind + split-window -h "exec htop"
|
||||
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
bind-key y set-option status
|
||||
|
||||
set -g bell-action any
|
||||
|
||||
set -g history-limit 5000
|
||||
|
||||
set -g base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
|
||||
set -g status-position bottom
|
||||
set -g status-justify left
|
||||
@@ -40,24 +44,26 @@ set -g status-bg '#222222'
|
||||
set -g status-fg white
|
||||
set -g status-attr default
|
||||
|
||||
|
||||
set-window-option -g window-status-fg '#FFFFFF'
|
||||
set-window-option -g window-status-bg '#444444'
|
||||
set-window-option -g window-status-attr none
|
||||
set-window-option -g window-status-format ' #I: #W #F '
|
||||
|
||||
set-window-option -g window-status-current-fg '#FFFFFF'
|
||||
set-window-option -g window-status-current-fg '#000000'
|
||||
set-window-option -g window-status-current-bg red
|
||||
set-window-option -g window-status-current-attr bold
|
||||
set-window-option -g window-status-current-format ' #I: #W #F '
|
||||
|
||||
set-window-option -g monitor-activity on
|
||||
set -g visual-activity on
|
||||
#set -g visual-activity on
|
||||
|
||||
set-window-option -g automatic-rename
|
||||
set-window-option -g automatic-rename on
|
||||
set-window-option -g automatic-rename-format '#{pane_current_command}'
|
||||
|
||||
set-window-option -g window-status-separator ' '
|
||||
|
||||
set -g status-right '#[fg=colour226]#(uptime | cut -d ',' -f 2-)'
|
||||
set -g status-right '' ##[fg=colour226]#(uptime | cut -d ',' -f 2-)'
|
||||
|
||||
set -g message-fg white
|
||||
set -g message-bg black
|
||||
@@ -75,3 +81,14 @@ unbind %
|
||||
unbind '"'
|
||||
bind-key s split-window -v
|
||||
bind-key v split-window -h
|
||||
|
||||
bind-key -n S-down new-window
|
||||
bind-key -n S-left prev
|
||||
bind-key -n S-right next
|
||||
bind-key -n C-j detach
|
||||
|
||||
bind-key -n C-F1 command-prompt "split-window -h 'exec man %%'"
|
||||
bind-key -n C-F2 split-window -h "exec htop"
|
||||
bind-key -n C-F3 set-option status
|
||||
|
||||
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced"
|
||||
|
||||
Reference in New Issue
Block a user