Skip to content

Instantly share code, notes, and snippets.

@selfboot
Created July 31, 2017 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selfboot/d88a127c526e3bf1c8790421e2621c7d to your computer and use it in GitHub Desktop.
Save selfboot/d88a127c526e3bf1c8790421e2621c7d to your computer and use it in GitHub Desktop.
My tmux conf file.
# enable scrolling into tmux panels with mouse wheel.
# https://stackoverflow.com/questions/7798103/how-to-enable-scrolling-in-tmux-panels-with-mouse-wheel
set -g mouse on
If you have made changes to your tmux configuration file in the ~/.tmux.conf file, it shouldn’t be necessary to start the server up again from scratch with kill-server. Instead, you can prompt the current tmux session to reload the configuration with the source-file command.
This can be done either from within tmux, by pressing Ctrl+B and then : to bring up a command prompt, and typing:
```
:source-file ~/.tmux.conf
```
Or simply from a shell:
```
$ tmux source-file ~/.tmux.conf
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment