# Tmux ## Table of Contents * [Shortcuts](#shortcuts) * [Notes](#notes) * [Copying and save buffer](#copying-and-save-buffer) ## Shortcuts **Leader Combo:** `ctrl + a` | Shortcut | Description | | -------------- | ----------------------------------------- | | `| ` | Split Vertically | | `-` | Split Horizontally | | `m` | Toggle mouse mode | | `P` | Save current window to file (32000 lines) | | `H` | Toggle logging of session | | `r` | Reload tmux configuration | | `T` | Make current window first window | | `PgUp` | Enter copy mode | ## Notes ### Copying and save buffer This can be done through the shortcut `P` which will ask where to save the entire buffer of the current window, up to 32000 lines. Below is the manual method for saving a selection rather than the whole buffer 1. `` 2. Move to line you want to start copying from 3. `` 4. Move to last line 5. ` ` 6. ` :save-buffer `