From: Oleg Broytman Date: Sat, 1 Apr 2017 12:43:49 +0000 (+0300) Subject: .tmux.conf: vim-like navigation X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b05eb8b5d703a9cdea0d4dd61462d936b33b9e4c;p=dotfiles.git .tmux.conf: vim-like navigation --- diff --git a/.tmux.conf b/.tmux.conf index 0984038..ae1849a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -59,6 +59,17 @@ set-option -g history-limit 1000 # R to reload config without restart bind-key R source-file ~/.tmux.conf \; display "Reloaded!" +# vim-like navigation +unbind-key h; bind-key h select-pane -L +unbind-key j; bind-key j select-pane -D +unbind-key k; bind-key k select-pane -U +unbind-key l; bind-key l select-pane -R + +bind H resize-pane -L 10 +bind J resize-pane -D 10 +bind K resize-pane -U 10 +bind L resize-pane -R 10 + # Set the command prefix to match GNU screen (CTRL+a) # set-option -g prefix C-a #