https://github.com/brookisme/tmux-setup
TMUX Setup
https://github.com/brookisme/tmux-setup
tmux tmux-configs
Last synced: 4 months ago
JSON representation
TMUX Setup
- Host: GitHub
- URL: https://github.com/brookisme/tmux-setup
- Owner: brookisme
- Created: 2017-02-28T21:40:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-30T17:43:46.000Z (about 8 years ago)
- Last Synced: 2025-10-25T15:23:03.311Z (8 months ago)
- Topics: tmux, tmux-configs
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### setup
```bash
pushd ~/
rm -rf .tmux*
git clone https://github.com/brookisme/tmux-setup.git
mv tmux-setup/tmux.conf .tmux.conf
rm -rf tmux-setup/
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
popd
```
### tmux
```bash
# start session
tmux
# install plugins
C-q I (shift i)
```
### layouts
Save your layout (see [dot-tmux-slash-layout-a](https://github.com/brookisme/tmux-setup/blob/master/dot-tmux-slash-layout-a) for an example) to `.tmux/layout_a`. Then add
```bash
bind S source-file ~/.tmux/layout_a
```
to your `.tmux.conf` file.
Now, once inside the tmux session just type `ctrl-q Shift-S` and you will automatically see your new layout.
Note you will have re-run your conf file: `C-q I (shift i)`.
-------------
### plugins
#### https://github.com/tmux-plugins/tmux-logging
```bash
prefix + shift + p toggles-log
```
#### https://github.com/tmux-plugins/tmux-pain-control/
```bash
# Resizing panes
prefix + shift + h resize current pane to the left
prefix + shift + j resize current pane in the up direction
prefix + shift + k resize current pane in the down direction
prefix + shift + l resize current pane to the right
#Splitting panes
prefix + | split current pane horizontally
prefix + - split current pane vertically
Swapping windows
prefix + < moves current window one position to the left
prefix + > moves current window one position to the right
```
#### https://github.com/tmux-plugins/tmux-yank
```bash
prefix + y copies text from the command line to clipboard
```