tmuxen

tmux environment made easy
git clone git://git.unixkoans.com/tmuxen.git
Log | Files | Refs

commit 83bbc7c8782fd9d94ca72b2ffddae25699f60879
parent 6e7bb80a5acef1d5a11d5cd91ac5e14549483e08
Author: Xiaodong Xu <[email protected]>
Date:   Sat Oct 22 19:01:45 +0800

Add select layout

Diffstat:
_tmux.conf | 19++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/_tmux.conf b/_tmux.conf @@ -1,11 +1,12 @@ # # author : Xu Xiaodong <[email protected]> -# modified : 2016 Jul 03 +# modified : 2016 Aug 30 # #-- base settings --# set -g default-terminal "screen-256color" set -ga terminal-overrides ",rxvt-unicode-256color:Tc" +set -sg escape-time 0 set -g display-time 3000 set -g history-limit 65535 set -g base-index 1 @@ -40,6 +41,10 @@ bind -r ^l resizep -R 10 # to the right (prefix Ctrl+l) bind ^u swapp -U # swap with the previous pane (prefix Ctrl+u) bind ^d swapp -D # swap with the next pane (prefix Ctrl+d) +# select layout +bind , select-layout even-vertical +bind . select-layout even-horizontal + # misc bind e lastp # select the last pane (prefix e) bind ^e last # select the last window (prefix Ctrl+e) @@ -47,10 +52,10 @@ bind q killp # kill pane (prefix q) bind ^q killw # kill window (prefix Ctrl+q) # copy mode -bind Escape copy-mode # enter copy mode (prefix Escape) -bind ^p pasteb # paste buffer (prefix Ctrl+p) -bind -t vi-copy v begin-selection # select (v) -bind -t vi-copy y copy-selection # copy (y) +bind Escape copy-mode # enter copy mode (prefix Escape) +bind ^p pasteb # paste buffer (prefix Ctrl+p) +bind -t vi-copy v begin-selection # select (v) +bind -t vi-copy y copy-pipe "xclip" # copy (y) # app bind ! splitw htop # htop (prefix !) @@ -77,8 +82,8 @@ set -g status-style "fg=#ebdbb2,bg=#282828" # window setw -g window-status-separator " " -setw -g window-status-format "━━" -setw -g window-status-current-format "━━" +setw -g window-status-format "▪" +setw -g window-status-current-format "▪" setw -g window-status-current-style "fg=#d79921,bg=#282828" # pane