From: Oleg Broytman Date: Thu, 13 Apr 2017 22:37:53 +0000 (+0300) Subject: .tmux.conf: add select-window bindings X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3a439a43d75eb6361fb0a5aaf1dc2dfadf4d2c13;p=dotfiles.git .tmux.conf: add select-window bindings --- diff --git a/.tmux.conf b/.tmux.conf index fe4827c..9d13711 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -56,6 +56,16 @@ set-option -g status-right '' # Increase scrollback lines set-option -g history-limit 1000 +# Set the command prefix to match GNU screen (CTRL+a) +# set-option -g prefix C-a +# +# Use C-a C-a key to send prefix instead of the default +# unbind-key C-b +# bind-key C-a send-prefix +# +# C-a for last-window +# bind-key C-a last-window + # R to reload config without restart bind-key R source-file ~/.tmux.conf \; display "Reloaded!" @@ -70,15 +80,8 @@ 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 -# -# Use C-a C-a key to send prefix instead of the default -# unbind-key C-b -# bind-key C-a send-prefix -# -# C-a for last-window -# bind-key C-a last-window +bind -r C-h select-window -t :- +bind -r C-l select-window -t :+ # Use vertical and horizontal chars to split the screen bind-key | split-window -h