{"id":21185822,"url":"https://github.com/erikjuhani/tm","last_synced_at":"2025-03-14T20:16:39.048Z","repository":{"id":204347094,"uuid":"710968463","full_name":"erikjuhani/tm","owner":"erikjuhani","description":"Tmux session manager with fzf and zoxide","archived":false,"fork":false,"pushed_at":"2024-03-04T20:30:58.000Z","size":595,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T12:47:30.376Z","etag":null,"topics":["fzf","manager","posix","shell-script","shm","tmux","zoxide"],"latest_commit_sha":null,"homepage":"","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/erikjuhani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-27T21:02:09.000Z","updated_at":"2024-03-05T07:33:15.000Z","dependencies_parsed_at":"2025-01-21T12:46:39.121Z","dependency_job_id":"bee9f96e-f00f-4b6b-a06b-f3625205b428","html_url":"https://github.com/erikjuhani/tm","commit_stats":null,"previous_names":["erikjuhani/tm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikjuhani%2Ftm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikjuhani%2Ftm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikjuhani%2Ftm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikjuhani%2Ftm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikjuhani","download_url":"https://codeload.github.com/erikjuhani/tm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243639559,"owners_count":20323510,"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":["fzf","manager","posix","shell-script","shm","tmux","zoxide"],"created_at":"2024-11-20T18:19:13.073Z","updated_at":"2025-03-14T20:16:39.027Z","avatar_url":"https://github.com/erikjuhani.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"tm.png\"\u003e\n\u003c/p\u003e\n\n# tm\n\ntmux session manager using `fzf` and `zoxide`. Requires\n[tmux](https://github.com/tmux/tmux/wiki/Installing),\n[zoxide](https://github.com/ajeetdsouza/zoxide#installation) and\n[fzf](https://github.com/junegunn/fzf#installation) to be available in the\nsystem path.\n\nThe name abbreviation is from words *t*mux *m*anager.\n\n## Screenshot\n\n![Screenshot](screenshot.png?raw=true)\n\n## Installation\n\nEasiest way to install `tm` is with [shm](https://github.com/erikjuhani/shm).\n\nTo install `shm` run either one of these oneliners:\n\ncurl:\n\n```sh\ncurl -sSL https://raw.githubusercontent.com/erikjuhani/shm/main/shm.sh | sh\n```\n\nwget:\n\n```sh\nwget -qO- https://raw.githubusercontent.com/erikjuhani/shm/main/shm.sh | sh\n```\n\nthen run:\n\n```sh\nshm get erikjuhani/tm\n```\n\nto get the latest version of `tm`.\n\n## Usage\n\n`tm` is best used as a popup for tmux. To use the `tm` opener with tmux, add\nthe following line to your `.tmux.conf` file (usually located in `~/.tmux.conf`):\n\n```\nbind-key -n C-f run-shell \"tmux popup -E 'tm open || exit 0'\"\n```\n\nIn the above snippet, we bind the key Control+f to run a popup with the `tm open` command.\n\nThe `exit 0` code is used to prevent displaying errors if the exit code is\nanything other than zero.\n\nAfter saving the configuration file, you should source the configuration using\nthe tmux Command Key and run `:source ~/.tmux.conf`.\n\nNow you should be ready to use `tm` with a tmux popup.\n\n```sh\ntm [\u003ccommand\u003e] [\u003cargs\u003e] [-h | --help]\n```\n\n### Open\n\nOpen a fuzzy finder with all the existing sessions, including directories\nrecorded by zoxide. The session path consists of a list of directories returned\nby `zoxide query -l` and any existing tmux sessions, which are represented as\n`session://\u003csession_name\u003e`.\n\n```\ntm open \u003csession_path\u003e\n```\n\n### Close\n\nClose the current session, or, if given a session name, close that session\ninstead.\n\n```\ntm close [\u003csession_name\u003e]\n```\n\n### Rename\n\nRename the current tmux session with the provided new name, or alternatively,\nuse the basename of the current working directory.\n\n```\ntm rename [\u003cnew_session_name\u003e]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikjuhani%2Ftm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikjuhani%2Ftm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikjuhani%2Ftm/lists"}