{"id":13941633,"url":"https://github.com/skywind3000/vim-rt-format","last_synced_at":"2026-03-04T03:32:04.646Z","repository":{"id":45333603,"uuid":"339442410","full_name":"skywind3000/vim-rt-format","owner":"skywind3000","description":":sunglasses: Prettify Current Line on Enter !!","archived":false,"fork":false,"pushed_at":"2021-12-20T12:49:14.000Z","size":10,"stargazers_count":120,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-20T04:56:07.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/skywind3000.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":"2021-02-16T15:28:14.000Z","updated_at":"2025-07-16T03:37:43.000Z","dependencies_parsed_at":"2022-08-03T05:45:49.292Z","dependency_job_id":null,"html_url":"https://github.com/skywind3000/vim-rt-format","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skywind3000/vim-rt-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fvim-rt-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fvim-rt-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fvim-rt-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fvim-rt-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skywind3000","download_url":"https://codeload.github.com/skywind3000/vim-rt-format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skywind3000%2Fvim-rt-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-08-08T02:01:23.313Z","updated_at":"2026-03-04T03:32:04.630Z","avatar_url":"https://github.com/skywind3000.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# RT-Format\n\nFormat current line immediately in INSERT mode as soon as you press ENTER:\n\n![picture](https://github.com/skywind3000/images/raw/master/p/pep/rtformat_4.gif)\n\n## Features\n\n- Format the current line in real-time when you press ENTER.\n- Seamless, no need to stop your work to run an extra command like `gq` or `:Neoformat`.\n- When you are focusing on editing, everything is done without paying extra attention.\n- No external process (eg. LSP servers) dependencies.\n- Supported languages including Python, Lua, Ruby, and Javascript.\n\n## Requirements\n\n- Vim with \"+python3\" feature.\n- Python module \"autopep8\".\n\n## Quick Start\n\nInstall the plugin with vim-plug:\n\n```VimL\n\" Tell vim-plug to install python module with post-update hook\nPlug 'skywind3000/vim-rt-format', { 'do': 'pip3 install autopep8' }\n\n\" By default, it will be triggered by `ENTER` in insert mode.\n\" set this to 1 to use `CTRL+ENTER` instead, and keep the  \n\" default `ENTER` behavior unchanged.\nlet g:rtf_ctrl_enter = 0\n\n\" Enable formatting when leaving insert mode\nlet g:rtf_on_insert_leave = 1\n```\n\nEnable plugin for current buffer:\n\n```VimL\n:RTFormatEnable\n```\n\nThen you go.\n\n## Credit\n\nSome of my other plugins may also interest you:\n\n- [asynctasks.vim](https://github.com/skywind3000/asynctasks.vim): Modern task system for project building, testing and deploying.\n- [vim-quickui](https://github.com/skywind3000/vim-quickui): The missing UI extensions for Vim 8.2 (and NeoVim 0.4).\n- [vim-auto-popup](https://github.com/skywind3000/vim-auto-popmenu): Display the completion menu automantically.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywind3000%2Fvim-rt-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskywind3000%2Fvim-rt-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskywind3000%2Fvim-rt-format/lists"}