{"id":16673972,"url":"https://github.com/sensorario/ttmux","last_synced_at":"2025-07-08T04:09:26.383Z","repository":{"id":30520927,"uuid":"34075424","full_name":"sensorario/ttmux","owner":"sensorario","description":"A script that make easy tmux configuration bootstrap of a project","archived":false,"fork":false,"pushed_at":"2018-09-10T10:06:18.000Z","size":44,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T07:41:27.026Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sensorario.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-16T19:12:46.000Z","updated_at":"2018-09-10T10:06:19.000Z","dependencies_parsed_at":"2022-08-17T20:20:12.288Z","dependency_job_id":null,"html_url":"https://github.com/sensorario/ttmux","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fttmux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fttmux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fttmux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fttmux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensorario","download_url":"https://codeload.github.com/sensorario/ttmux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254020902,"owners_count":22000805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T12:28:57.626Z","updated_at":"2025-05-13T20:31:12.484Z","avatar_url":"https://github.com/sensorario.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ttmux\n\nA script that make easy tmux configuration bootstrap of a project\n\n## Install ttmux\n\nTo make ttmux executable from everywhere, add a symbolic link your /usr/local/bin folder\n\n    # cd /usr/local/bin\n    # ln -s ~/path/to/sensorario/ttmux/ttmux .\n\n## tmux configuration\n\nAdd these lines to your tmux.conf file, ore create it if not exists.\n\n```bash\n# start windows and panes at 1, not 0\nset -g base-index 1\nset -g pane-base-index 1\n```\n\n## configuration\n\nThis example create a basic configurtion where, ...\n\n - github checkout master branch\n - session is named \"ttmux\"\n - workspace windows will have a 20% pane, on the bottom\n\n```bash\ndeclare -A window_list=()\ndeclare -A horizontal_panes=()\ndeclare -A horizontal_panes_command=()\ndeclare -A horizontal_panes_command_position=()\n\nsession_name=\"ttmux\"\nproject_path='/path/to/project/folder'\n\nwindow_list+=([workspace]=\"cd $project_path; vim\")\nwindow_list+=([mysql]=\"mysql -uroot sensorario\")\nwindow_list+=([console]=\"cd $project_path\")\n\nhorizontal_panes+=([workspace]=\"\")\nhorizontal_panes_command+=([workspace]=\"\")\nhorizontal_panes_command_position+=([workspace]=2)\n\nordered_windows=(\n    workspace\n    mysql\n    console\n)\n```\n\n## `Tmux snippets`\n\n - open horizontal pane `Ctrl-b + \"`\n - open vertical pane `Ctrl-b + %`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorario%2Fttmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensorario%2Fttmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorario%2Fttmux/lists"}