dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 873fe08e3c4e5e5821aa7297a137494c649cb056
parent 95c72b27d19968bdc76a17a7c59be0747d5a076f
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Sun,  9 Nov 2014 03:55:58 +0200

tmux: Add shortcuts to resize panes

Diffstat:
.tmux.conf | 14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -28,13 +28,13 @@ set -g status-right 'Session: #[fg=Cyan]#S - #[fg=white]Uptime:#[fg=Cyan]\ # Pane navigation based on vi's hjkl unbind-key j -bind-key j select-pane -D +bind-key -r j select-pane -D unbind-key k -bind-key k select-pane -U +bind-key -r k select-pane -U unbind-key h -bind-key h select-pane -L +bind-key -r h select-pane -L unbind-key l -bind-key l select-pane -R +bind-key -r l select-pane -R # Set TERM to screen-256color set -g default-terminal "screen-256color" @@ -42,3 +42,9 @@ set -g default-terminal "screen-256color" # Start counting windows/panes from 1 and not 0 set -g base-index 1 set -g pane-base-index 1 + +# Vim-like pane resizing +bind-key -r '=' resize-pane -U 5 +bind-key -r '-' resize-pane -D 5 +bind-key -r '<' resize-pane -L 5 +bind-key -r '>' resize-pane -R 5