{"id":16038461,"url":"https://github.com/tenderlove/vim-to-rtf","last_synced_at":"2026-03-05T22:03:25.381Z","repository":{"id":243085841,"uuid":"811171114","full_name":"tenderlove/vim-to-rtf","owner":"tenderlove","description":"Convert code to syntax highlighted RTF","archived":false,"fork":false,"pushed_at":"2024-06-06T22:29:30.000Z","size":22,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T02:19:27.247Z","etag":null,"topics":["rtf","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","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/tenderlove.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-06-06T04:41:00.000Z","updated_at":"2025-08-24T07:57:44.000Z","dependencies_parsed_at":"2024-06-06T17:14:21.363Z","dependency_job_id":"4158c98f-50d0-404f-a87b-45eb316ed7ed","html_url":"https://github.com/tenderlove/vim-to-rtf","commit_stats":null,"previous_names":["tenderlove/vim-to-rtf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tenderlove/vim-to-rtf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fvim-to-rtf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fvim-to-rtf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fvim-to-rtf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fvim-to-rtf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tenderlove","download_url":"https://codeload.github.com/tenderlove/vim-to-rtf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tenderlove%2Fvim-to-rtf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30151959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"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":["rtf","vim"],"created_at":"2024-10-08T22:41:49.477Z","updated_at":"2026-03-05T22:03:25.329Z","avatar_url":"https://github.com/tenderlove.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim to RTF\n\nConverts the current buffer or visually selected text to syntax highlighted RTF\ntext and puts it in the paste buffer.\n\nWatch it in action:\n\n\u003cvideo src=\"https://github.com/tenderlove/vim-to-rtf/assets/3124/f50894d9-1eff-44c6-9531-e85f15bc7171\" width=\"300\"\u003e\u003c/video\u003e\n\nInspired by [vim-copy-as-rtf](https://github.com/zerowidth/vim-copy-as-rtf).\n\nI wrote this because I write code examples in Vim, and I want to paste them\nin to Keynote but maintain the syntax highlighting.  I've been using\nvim-copy-as-rtf for years, but it uses a macOS utility called `textutil`, and\nthat utility has started giving me problems.  vim-copy-as-rtf would convert\nthe source to HTML, then use `textutil` to convert the HTML to RTF.  This\nplugin directly converts the text to RTF without an intermediate HTML file.\n\n## Installation\n\n```\n$ git submodule add https://github.com/tenderlove/vim-to-rtf.git pack/dist/start/vim-to-rtf\n```\n\n## Usage\n\nConvert the entire buffer to RTF and put it in the paste buffer:\n\n```\n:ToRTF\n```\n\nTo select lines and put in the paste buffer, just visual select, then do\n\n```\n:ToRTF\n```\n\n## Configuration\n\nThe default font it uses is `Courier`, but you can change it like this:\n\n```vim\ng:tortf_font = \"SF Mono\"\n```\n\nNo font size is specified by default, but you can specify a font size like this:\n\n```vim\ng:tortf_font_size = 32\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftenderlove%2Fvim-to-rtf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftenderlove%2Fvim-to-rtf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftenderlove%2Fvim-to-rtf/lists"}