{"id":17912450,"url":"https://github.com/chrisbra/vpager","last_synced_at":"2025-03-23T22:34:37.153Z","repository":{"id":40650523,"uuid":"131866371","full_name":"chrisbra/vpager","owner":"chrisbra","description":"Pipe input from Vims terminal directly back into Vim","archived":false,"fork":false,"pushed_at":"2023-11-13T18:25:54.000Z","size":696,"stargazers_count":26,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T00:06:09.416Z","etag":null,"topics":["terminal","vim","vim-plugins"],"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/chrisbra.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":"2018-05-02T14:56:32.000Z","updated_at":"2025-01-15T10:48:42.000Z","dependencies_parsed_at":"2024-10-28T19:45:41.694Z","dependency_job_id":"8f7d2ddc-0f4b-4315-a67c-450c7611f03d","html_url":"https://github.com/chrisbra/vpager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbra%2Fvpager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbra%2Fvpager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbra%2Fvpager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbra%2Fvpager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisbra","download_url":"https://codeload.github.com/chrisbra/vpager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245180207,"owners_count":20573629,"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":["terminal","vim","vim-plugins"],"created_at":"2024-10-28T19:45:20.193Z","updated_at":"2025-03-23T22:34:36.533Z","avatar_url":"https://github.com/chrisbra.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vpager plugin [![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/cb%40256bit.org)\n\u003e A Vim plugin to copy output of vims terminal to a new buffer.\n\nThis plugin contains a shell implementation of a pager, that will take the\ninput and send it to a vim plugin (in Unix-like OSes like Linux and MacOS; in\nMicrosoft Windows, only opening files is supported yet). The Vim plugin\nprocesses the input and stores it in a new window.\n\nSee also the following screencast:\n\n![screencast of the plugin](vpager.gif \"Screencast\")\n\n### Installation\nUse the plugin manager of your choice.\n\nAlso available at [vim.org](https://www.vim.org/scripts/script.php?script_id=5682)\n\n### Requirements\nIt requires Python with the `json` module to properly json encode the input.\n\n### Usage\nThis makes use of Vims built in terminal and the provided terminal API. You need at least Vim version [8.0.1647](https://github.com/vim/vim/releases/tag/v8.0.1647)\n\nUse the provided `vpager` script and pipe input into it.\nIts containing folder is added to your local `$PATH` inside Vim.\n(If not found, please ensure that `vpager`'s executable flag is set.)\n\nThe script supports the following options:\n\n#### commands:\n```shell\nNAME\n    This script vpager can be used as pager from inside Vims built-in\n    terminal. The output will be copied to a new buffer in Vim.\n\nSYNOPSIS\n    vpager [-enVQ -C option] [file]\n    vpager [-h|-v]\n\n    -v  display version\n    -h  display help\n    -C  Pass options to Vim. Can be used to e.g. set the filetype for\n        correct syntax highlighting.\n    -e  open the file in the instance of vim that is running the terminal\n    -n  Clear the previous buffer in Vim\n    -V  create a new vertical window in Vim\n    -Q  parse the output back in the quickfix list\n\nEXAMPLES\n  git diff | vpager -nC 'ft=diff'\n\n  Copies the output of git diff into a buffer inside Vim. Any previous\n  output in the buffer will be cleared and the filetype will be set\n  to \"diff\", for proper syntax highlighting.\n\n  grep -n \u003csearchterm\u003e files | vpager -Q\n\n  Parses the grep -n output, copies it back into the quickfix buffer\n  and opens the first result in a new window.\n  \n```\n\nA command `drop` is provided as alias for `vpager -e`.\n\n### Similar\n\nInside a terminal in vim, [vim-terminal-help](https://github.com/skywind3000/vim-terminal-help/) opens a file in the vim instance that spawned that terminal.\n\n### License \u0026 Copyright\n\n© 2018 by Christian Brabandt. The Vim license (see `:h license`) applies to the Vim plugin, the shell script is licensed under the BSD license.\n\n__NO WARRANTY, EXPRESS OR IMPLIED.  USE AT-YOUR-OWN-RISK__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbra%2Fvpager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisbra%2Fvpager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbra%2Fvpager/lists"}