# fmux key bindings page # byobu style F-key bindings (only the useful ones) bind-key -n F2 new-window bind-key -n F3 previous-window bind-key -n F4 next-window bind-key -n F6 detach bind-key -n F7 copy-mode bind-key -n C-F6 kill-pane bind-key -n F8 command-prompt -p "(rename-window) " "rename-window '%%'" bind-key -n C-F8 command-prompt -p "(rename-session) " "rename-session '%%'" bind-key -n S-F12 source ~/fmux/f-keys.disable \; display-message "fmux F-keys: DISABLED" # split panes using | and - bind | split-window -h bind - split-window -v unbind '"' unbind % # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # resize panes using Shift-WASD bind-key S resize-pane -D 5 bind-key W resize-pane -U 5 bind-key A resize-pane -L 5 bind-key D resize-pane -R 5 # move windows bind-key Left swap-window -t -1\; select-window -t -1 bind-key Right swap-window -t +1\; select-window -t +1 # reload config file bind r source-file ~/.tmux.conf