Appendix 1Our Configuration
Throughout the book, we’ve built up a somewhat complex .tmux.conf file. Here’s the entire file for your reference.
workflows/tmux.conf | |
| # Our .tmux.conf file |
| |
| # Setting the prefix from C-b to C-a |
| set -g prefix C-a |
| |
| # Free the original Ctrl-b prefix keybinding |
| unbind C-b |
| |
| #setting the delay between prefix and command |
| set -s escape-time 1 |
| |
| # Ensure that we can send Ctrl-A to other apps |
| bind C-a send-prefix |
| |
| # Set the base index for windows to 1 instead of 0 |
| set -g base-index 1 |
| |
| # Set the base index for panes to 1 instead of 0 |
| setw -g pane-base-index 1 |
| |
| # Reload the file with Prefix r |
| bind r source-file ~/.tmux.conf \; display "Reloaded!" |
| |
| # splitting panes |
Get tmux now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.