{"id":13927091,"url":"https://github.com/ruanyl/vim-sort-imports","last_synced_at":"2025-09-05T22:32:49.300Z","repository":{"id":74188112,"uuid":"107673656","full_name":"ruanyl/vim-sort-imports","owner":"ruanyl","description":"vim port of import-sort. Sort javascript/typescript imports","archived":false,"fork":false,"pushed_at":"2017-12-12T14:24:19.000Z","size":3,"stargazers_count":33,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T12:33:31.220Z","etag":null,"topics":["es6","import-sort","sort","typescript","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruanyl.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}},"created_at":"2017-10-20T12:09:26.000Z","updated_at":"2024-07-01T06:10:20.000Z","dependencies_parsed_at":"2024-01-14T16:07:55.509Z","dependency_job_id":"c6540508-1cdf-4bca-bc4e-dbcbda894e3b","html_url":"https://github.com/ruanyl/vim-sort-imports","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruanyl/vim-sort-imports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fvim-sort-imports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fvim-sort-imports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fvim-sort-imports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fvim-sort-imports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruanyl","download_url":"https://codeload.github.com/ruanyl/vim-sort-imports/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fvim-sort-imports/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273832260,"owners_count":25176262,"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-09-05T02:00:09.113Z","response_time":402,"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":["es6","import-sort","sort","typescript","vim"],"created_at":"2024-08-07T16:01:24.866Z","updated_at":"2025-09-05T22:32:49.187Z","avatar_url":"https://github.com/ruanyl.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"vim-sort-import\n----------\n\n![vim-sort-import](https://user-images.githubusercontent.com/486382/31822807-a24b33d8-b5b2-11e7-8468-df9a6f45528e.gif)\n\n\nPlease refer to [import-sort](https://github.com/renke/import-sort) for more details\n\nConfig example:\n```\n// enable auto sort import on write\nlet g:import_sort_auto = 1\n\n// install import-sort packages\nnpm install --save-dev import-sort-cli import-sort-parser-babylon import-sort-parser-typescript import-sort-style-renke\n\n// package.json:\n\"importSort\": {\n  \".js, .jsx, .es6, .es\": {\n    \"parser\": \"babylon\",\n    \"style\": \"renke\"\n  },\n  \".ts, .tsx\": {\n    \"parser\": \"typescript\",\n    \"style\": \"renke\"\n  }\n}\n```\n\n### Available CMD\n```\n// run import-sort against current buffer\n:SortImport\n\n// start run import-sort on save\n:StartAutoSortImport\n\n// stop run import-sort on save\n:StopAutoSortImport\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyl%2Fvim-sort-imports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruanyl%2Fvim-sort-imports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyl%2Fvim-sort-imports/lists"}