{"id":25387908,"url":"https://github.com/karshprime/only-tmux.nvim","last_synced_at":"2025-09-11T18:48:35.728Z","repository":{"id":235059368,"uuid":"786357418","full_name":"karshPrime/only-tmux.nvim","owner":"karshPrime","description":"have a keybind in nvim for :only that also works for tmux panes","archived":false,"fork":false,"pushed_at":"2024-06-18T11:42:43.000Z","size":132,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T09:36:04.924Z","etag":null,"topics":["nvim","nvim-plugin","tmux"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karshPrime.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":"2024-04-14T07:50:53.000Z","updated_at":"2025-03-18T17:31:02.000Z","dependencies_parsed_at":"2024-04-22T04:53:18.736Z","dependency_job_id":"a19deea3-8634-4796-b665-a0c146831a19","html_url":"https://github.com/karshPrime/only-tmux.nvim","commit_stats":null,"previous_names":["karshprime/only-tmux.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/karshPrime/only-tmux.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karshPrime%2Fonly-tmux.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karshPrime%2Fonly-tmux.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karshPrime%2Fonly-tmux.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karshPrime%2Fonly-tmux.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karshPrime","download_url":"https://codeload.github.com/karshPrime/only-tmux.nvim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karshPrime%2Fonly-tmux.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274689838,"owners_count":25331897,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nvim","nvim-plugin","tmux"],"created_at":"2025-02-15T12:36:05.145Z","updated_at":"2025-09-11T18:48:35.669Z","avatar_url":"https://github.com/karshPrime.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# only-tmux.nvim\n\n## Description\nYou probably use\n[vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) and\nwonder if you could further blur the line between tmux and nvim panes. With this\nplugin you could by extending the use of `:only` to minimise/close tmux panes on\nyour current window as well. \n\nWith a keybind you'll minimise all unfocused nvim panes to buffer and either\nmove all other tmux panes to new window or simply delete them (or just config\ndifferent keys for different actions).\n\n![preview](.media/screenshot.gif)\n\n## Installation and Setup\nInstall using your favorite plugin manager. For example, using\n[lazy.nvim](https://github.com/folke/lazy.nvim):\n```lua\n{  'karshPrime/only-tmux.nvim',\n    event = 'VeryLazy',\n    config = { new_window_name = \"session\" } -- optional\n},\n```\n\n## Keybinds\n\n```lua\n-- move nvim panes to buffer and close unfocused tmux panes\nvim.keymap.set('n', '\u003cleader\u003eo', ':TMUXonly close\u003cCR\u003e', { silent = true })\n\n-- move nvim panes to buffer and move unfocused tmux panes to new window\nvim.keymap.set('n', '\u003cleader\u003eO', ':TMUXonly move\u003cCR\u003e', { silent = true })\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarshprime%2Fonly-tmux.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarshprime%2Fonly-tmux.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarshprime%2Fonly-tmux.nvim/lists"}