Skip to content

Ender is a tmux tool helps you manage pane configurations in a tmux window.

License

Notifications You must be signed in to change notification settings

kapilreddy/ender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ender

Ender is a tmux tool helps you manage pane configurations in a tmux window.

Ender is meant to be used in dev environment to fire up multiple things like watch processes, servers and log outputs in tmux.

How does it work?

An Ender config file looks like this. Place it in your project directory.

["h", ["v", "echo \"foo\"", "echo \"bar\""],
      ["v", "echo \"hello\"", "echo \"world\""]]

This would split windows in tmux which will look something like this.

 --------------------------------------------------
| $: echo "foo"          | $: echo "hello"         |
| foo                    | hello                   |
| $:                     | $:                      |
|                        |                         |
 --------------------------------------------------
| $: echo "bar"          | $: echo "world"         |
| bar                    | world                   |
| $:                     | $:                      |
|                        |                         |
 --------------------------------------------------
["h", ["v", "echo \"foo\"", "echo \"bar\""],
      ["v", "echo \"hello\"", "echo \"world\""],
      "echo \"ender\""]
 --------------------------------------------------
| $: echo "foo" | $: echo "hello"| $: echo "ender" |
| foo           | hello          | ender           |
| $:            | $:             | $:              |
|               |                |                 |
 --------------------------------                  |
| $: echo "bar" | $: echo "world"|                 |
| bar           | world          |                 |
| $:            | $:             |                 |
|               |                |                 |
 --------------------------------------------------

Installation

Add ender in your PATH.

Setup

To start using ender make a config file. Check ender config examples and place it as .ender in your project directory.

Good to go!

Run 'ender' in your project directory while in tmux.

To specify differnt config file use --config param.

Future Improvements

  • Divide panes in correct percentages.

Twitter: @KapilReddy

Special thanks to @Prajwalit for intial idea.

About

Ender is a tmux tool helps you manage pane configurations in a tmux window.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages