{"id":16639736,"url":"https://github.com/artemave/tmux_capture_last_command_output","last_synced_at":"2025-08-01T11:35:47.127Z","repository":{"id":43277646,"uuid":"453686750","full_name":"artemave/tmux_capture_last_command_output","owner":"artemave","description":"Capture the output of the last terminal command and open it an editor in a separate tmux window.","archived":false,"fork":false,"pushed_at":"2022-11-29T10:07:15.000Z","size":4,"stargazers_count":24,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T16:51:22.284Z","etag":null,"topics":["tmux","tmux-plugins"],"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/artemave.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}},"created_at":"2022-01-30T13:24:27.000Z","updated_at":"2025-03-22T22:08:39.000Z","dependencies_parsed_at":"2023-01-23T00:30:07.782Z","dependency_job_id":null,"html_url":"https://github.com/artemave/tmux_capture_last_command_output","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artemave/tmux_capture_last_command_output","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemave%2Ftmux_capture_last_command_output","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemave%2Ftmux_capture_last_command_output/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemave%2Ftmux_capture_last_command_output/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemave%2Ftmux_capture_last_command_output/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemave","download_url":"https://codeload.github.com/artemave/tmux_capture_last_command_output/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemave%2Ftmux_capture_last_command_output/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268215611,"owners_count":24214365,"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-08-01T02:00:08.611Z","response_time":67,"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":["tmux","tmux-plugins"],"created_at":"2024-10-12T07:06:53.309Z","updated_at":"2025-08-01T11:35:47.102Z","avatar_url":"https://github.com/artemave.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tmux Capture Last Command Output\n\nCapture the output of the last terminal command and open it an editor in a separate tmux window. \n\n## Installation\n\n### Using [TPM](https://github.com/tmux-plugins/tpm):\n\n    set -g @plugin 'artemave/tmux_capture_last_command_output'\n\nHit \u003ckbd\u003eprefix\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e to fetch and source the plugin.\n\n### Manual\n\nClone the repo:\n\n    git clone https://github.com/artemave/tmux_capture_last_command_output.git ~/.tmux/plugins/tmux_capture_last_command_output\n\nSource it in your `.tmux.conf`:\n\n    run-shell ~/.tmux/plugins/tmux_capture_last_command_output/tmux_capture_last_command_output.tmux\n\nReload TMUX conf by running:\n\n    tmux source-file ~/.tmux.conf\n\n## Configuration\n\n#### @command-capture-key\n\nRequired. Set Prefix + key to trigger the plugin. For example, `prefix+t`:\n\n```\nset -g @command-capture-key t\n```\n\n#### @command-capture-prompt-pattern\n\nRequired. A regexp to identify command separator. Usually a prompt. E.g., if set to '] % ', the plugin will capture the latest output up until the first line that contains '] % ':\n\n```\nset -g @command-capture-prompt-pattern '] % '\n```\n\n#### @command-capture-editor-cmd\n\nOptional. An editor to use for the captured output. Defaults to `$EDITOR -`, which works with vim/nvim. Example:\n\n```\nset -g @command-capture-editor-cmd 'nvim -'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemave%2Ftmux_capture_last_command_output","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemave%2Ftmux_capture_last_command_output","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemave%2Ftmux_capture_last_command_output/lists"}