Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
tmux [2022/02/24 06:11] – [Reset Lost Sessions] hc9 | tmux [2022/11/16 19:52] – [Emulating Emacs-like registers] hc9 |
---|
| |
The way it works is this: when in //copy-mode// you get an additional key binding //r// which prompts you for a single-letter named register in which to store the marked region. In normal mode you get a prefix command //C-b C-]// which prompts for the name of the register whose contents will be pasted at the cursor. You can also list the contents of all buffers by running //C-b :list-buffers//. Manual initializing of all the buffers seems necessary, because otherwise //delete-buffer// complains about trying to delete a nonexistent buffer when used for the first time for a given letter. | The way it works is this: when in //copy-mode// you get an additional key binding //r// which prompts you for a single-letter named register in which to store the marked region. In normal mode you get a prefix command //C-b C-]// which prompts for the name of the register whose contents will be pasted at the cursor. You can also list the contents of all buffers by running //C-b :list-buffers//. Manual initializing of all the buffers seems necessary, because otherwise //delete-buffer// complains about trying to delete a nonexistent buffer when used for the first time for a given letter. |
| |
| ===== Troubleshooting Colors ===== |
| |
| If colors are not working in your tmux session try running tmux with the -2 flag. |
| |
| ''$ tmux -2'' |
| |
| To persist 256color support in your terminal you can add the following line to your ~/.bashrc |
| |
| ''TERM=screen-256color'' |
| |
===== Resources ===== | ===== Resources ===== |