{"id":20450895,"url":"https://github.com/danhper/sublime-file-commands","last_synced_at":"2026-06-06T19:31:43.772Z","repository":{"id":5952386,"uuid":"7173360","full_name":"danhper/sublime-file-commands","owner":"danhper","description":"Commands to work with files in Sublime Text","archived":false,"fork":false,"pushed_at":"2015-05-04T11:00:34.000Z","size":200,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T22:37:54.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/FileCommands","language":"Python","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/danhper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-14T23:05:16.000Z","updated_at":"2024-09-13T17:32:15.000Z","dependencies_parsed_at":"2022-09-11T12:21:23.656Z","dependency_job_id":null,"html_url":"https://github.com/danhper/sublime-file-commands","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhper%2Fsublime-file-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhper%2Fsublime-file-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhper%2Fsublime-file-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhper%2Fsublime-file-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danhper","download_url":"https://codeload.github.com/danhper/sublime-file-commands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241999286,"owners_count":20055462,"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":[],"created_at":"2024-11-15T10:55:34.551Z","updated_at":"2026-06-06T19:31:43.768Z","avatar_url":"https://github.com/danhper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sublime-file-commands\n\n## Installation\n\nInstall the package as `FileCommands` through Package Control.\n\n## Usage\n\nThis package has the following commands to work with file\nmore easily.\n\n* `open_or_create_file`\n    Opens or creates a file.\n    Will also create all directories in between when needed when creating file.\n\n* `save_quit`\n    Saves and closes the file.\n    Closes Sublime Text if it is the last file open and no directory or project is opened.\n\n* `try_quit`\n    Closes the file (or uses an Emacs like prompt to ask if not saved).\n    Closes Sublime Text if it is the last file open and no directory or project is opened.\n\n* `force_quit`\n    Closes the file even if not saved.\n    Closes Sublime Text if it is the last file open and no directory or project is opened.\n\nThe package commands are available in the Command Palette\nso that they can be accessed through vim bindings,\nbut any keybings works perfectly, for example:\n\n```json\n[\n  { \"keys\": [\"super+w\"], \"command\": \"try_quit\" },\n  { \"keys\": [\"super+o\"], \"command\": \"open_or_create_file\" }\n]\n```\n\n\nOpen file screenshot:\n\n![screenshot-1423632337](https://cloud.githubusercontent.com/assets/1436271/6142441/e980dfe2-b1f9-11e4-828d-0fbe6f277199.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhper%2Fsublime-file-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanhper%2Fsublime-file-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhper%2Fsublime-file-commands/lists"}