Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
tmux [2022/02/24 06:11] – [Reset Lost Sessions] hc9 | tmux [2022/12/05 06:18] (current) – [Resources] 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 ===== |
* [[https://wiki.archlinux.org/index.php/Tmux| https://wiki.archlinux.org/index.php/Tmux]] | * [[https://wiki.archlinux.org/index.php/Tmux| https://wiki.archlinux.org/index.php/Tmux]] |
* [[http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course| http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course]] | * [[http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course| http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course]] |
* [[http://en.wikipedia.org/wiki/Tmux| http://en.wikipedia.org/wiki/Tmux]] | * [[wp>Tmux|https://en.wikipedia.org/wiki/Tmux]] |
| |
---- | ---- |