I'm customizing my .tmux.conf and have found lots of other examples on other peoples customization.

Here is one example that apparently makes tmux pane splitting more vim like:

set-option -g prefix C-w
unbind-key C-w
bind-key C-w send-prefix
set -g base-index 1

bind-key v split-window -h
bind-key s split-window -v
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

What is the meaning for the syntax for bind key, set and set-option?

  • 5
    Have you thought to look at the man page? – jasonwryan Dec 29 '17 at 23:08
  • @jasonwryan I've updated the question to not ask about the reference. – TheMeaningfulEngineer Dec 30 '17 at 12:51

The tmux configuration file is composed of a sequence of tmux commands that are executed at startup. All commands and options are explained in the tmux(1) man page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.