dot

packages and services management
Log | Files | Refs | README

commit c48c41f9cb23ca202338f3cb45f3dce881a7032b
parent 729e4a872cdd88efc2d7129064de63b371ab1ef7
Author: josuah <mail@josuah.net>
Date:   Fri, 23 Sep 2016 09:42:39 -0400

Added nice nice improvement to tmux!

Diffstat:
Mtmux/.tmux.conf | 24++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -23,16 +23,24 @@ set-option -g status-keys vi bind -t vi-copy v begin-selection bind -t vi-copy C-v rectangle-toggle bind -t vi-copy y copy-pipe "xclip -i" +bind -n PPage if-shell -F "#{alternate_on}" \ + "send-keys PPage" "copy-mode -e; send-keys PPage" # Pane Management -bind k select-pane -U -bind j select-pane -D -bind h select-pane -L -bind l select-pane -R -bind C-k resize-pane -U 3 -bind C-j resize-pane -D 3 -bind C-h resize-pane -L 8 -bind C-l resize-pane -R 8 +bind -r k select-pane -U +bind -r j select-pane -D +bind -r h select-pane -L +bind -r l select-pane -R +bind -r C-k resize-pane -U 3 +bind -r C-j resize-pane -D 3 +bind -r C-h resize-pane -L 8 +bind -r C-l resize-pane -R 8 + +# Window management +bind -r < swap-window -t - +bind -r > swap-window -t + +bind -r p previous-window +bind -r n next-window # Managing sessions bind -n C-z detach