{"id":17184822,"url":"https://github.com/ayyess/tmux-resize","last_synced_at":"2026-04-29T08:02:26.341Z","repository":{"id":116697256,"uuid":"261016283","full_name":"ayyess/tmux-resize","owner":"ayyess","description":"🥂 Seamless tmux/vim resizing (over SSH too!)","archived":false,"fork":false,"pushed_at":"2020-05-04T18:53:05.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T03:30:33.898Z","etag":null,"topics":["tmux","vim"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayyess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-05-03T20:36:20.000Z","updated_at":"2020-05-04T19:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"97e4d4d8-5da3-4c80-a0b7-a010577bc1a5","html_url":"https://github.com/ayyess/tmux-resize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ayyess/tmux-resize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayyess%2Ftmux-resize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayyess%2Ftmux-resize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayyess%2Ftmux-resize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayyess%2Ftmux-resize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayyess","download_url":"https://codeload.github.com/ayyess/tmux-resize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayyess%2Ftmux-resize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["tmux","vim"],"created_at":"2024-10-15T00:44:32.838Z","updated_at":"2026-04-29T08:02:26.324Z","avatar_url":"https://github.com/ayyess.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tmux-resize\n\nBuilt upon [tmux-navigate](https://github.com/sunaku/tmux-navigate).\n\nIntelligently resize tmux panes and Vim splits using the same keys.\nThis also supports SSH tunnels where Vim is running on a remote host.\n\n  | inside Vim? | is Zoomed? | Action taken by key binding  |\n  | ----------- | ---------- | ---------------------------- |\n  | No          | No         | Resize tmux pane             |\n  | No          | Yes        | Nothing: ignore key binding  |\n  | Yes         | No         | Seamlessly resize Vim / tmux |\n  | Yes         | Yes        | Resize directional Vim split |\n\n\nDepends on [tmux-navigate](https://github.com/ayyess/tmux-navigate).\nBe sure to source tmux-navigate in tmux and vim *before* tmux-resize.\n\n## Installation\n\n1. Install the [TPM] framework for tmux.\n\n[TPM]: https://github.com/tmux-plugins/tpm\n\n2. Add this line to your `~/.tmux.conf`:\n```sh\nset -g @plugin 'ayyess/tmux-resize'\n```\n\n3. Configure your own resizing shortcuts:\n```sh\nset -g @resize-no-bindings 1\nbind-key -n M-H  run-shell -b \"#{resize_pane} left\"\nbind-key -n M-J  run-shell -b \"#{resize_pane} down\"\nbind-key -n M-K  run-shell -b \"#{resize_pane} up\"\nbind-key -n M-L  run-shell -b \"#{resize_pane} right\"\n```\n\n3.5 Left/upper edge control\n\nThe first half of the mappings are identical to the mappings above but with the\ncontrolled edge explicitly specified.\n\n```sh\nset -g @resize-no-bindings\n# move right/bottom edge of current pane\nbind-key -n M-H    run-shell -b \"#{resize_pane} right shrink\"\nbind-key -n M-J    run-shell -b \"#{resize_pane} down  expand\"\nbind-key -n M-K    run-shell -b \"#{resize_pane} down  shrink\"\nbind-key -n M-L    run-shell -b \"#{resize_pane} right expand\"\n# move left/top edge of current pane\nbind-key -n C-M-h  run-shell -b \"#{resize_pane} left  expand\"\nbind-key -n C-M-j  run-shell -b \"#{resize_pane} up    shrink\"\nbind-key -n C-M-k  run-shell -b \"#{resize_pane} up    expand\"\nbind-key -n C-M-l  run-shell -b \"#{resize_pane} left  shrink\"\n```\n\n### Vim integration - when using Vim remotely via SSH\n\n```vim\nPlug 'ayyess/tmux-resize'\n```\n\n## Alternatives\n\nSee [Vim-tmux-resizer](https://github.com/melonmanchan/vim-tmux-resizer) and [vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) for a vim-centric approach to navigation and resizing.\n\n## License\n\n(the ISC license)\n\nCopyright 2018 Suraj N. Kurapati \u003chttps://github.com/sunaku\u003e  \nCopyright 2020 Andrew Scott \u003chttps://github.com/ayyess\u003e  \n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayyess%2Ftmux-resize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayyess%2Ftmux-resize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayyess%2Ftmux-resize/lists"}