Table of Contents
inline table of content only on mobile
Tmux configuration setup script – tmux-pencil
This is a tool that can helps you set your tmux configuration easily. Just follow the instructions, and a kick-start .tmux.conf will be created.
tmux-pencil only modifies your .tmux.conf or creates a backup file, you can edit it afterward as needed.

Usage
1. Setup tmux session environment
Since we’re configuring tmux, it’s recommended to stay inside a tmux session so that you can see most of the effects immediately.
The command below will create a new session (tpen) with two windows (setup & demo), as some effects require multiple windows to demonstrate properly:
|
|
2. Download & Set permission
While in the tmux session, download the script to your home directory. You can delete it afterward.
|
|
Of course, you can also copy and paste the script contents manually.
Then, make the script executable:
|
|
3. Run the script
|
|
4. Configure
Follow the on-screen instructions to configure your tmux settings.
5. Finish
You can now see your new .tmux.conf in your home directory.
|
|
If you no longer need the script, feel free to delete it:
|
|
Support
Thanks for using tmux-pencil! Don’t forget to ⭐️ the repo if you like it.