{"id":18980862,"url":"https://github.com/sublimetext/sublimecmd","last_synced_at":"2025-04-19T19:14:05.532Z","repository":{"id":66974252,"uuid":"1657966","full_name":"SublimeText/SublimeCMD","owner":"SublimeText","description":"Simple command processor for Sublime Text.","archived":false,"fork":false,"pushed_at":"2011-04-25T10:10:45.000Z","size":106,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-16T15:15:25.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/SublimeText.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-24T22:36:58.000Z","updated_at":"2025-04-07T07:28:07.000Z","dependencies_parsed_at":"2023-02-20T15:35:18.259Z","dependency_job_id":null,"html_url":"https://github.com/SublimeText/SublimeCMD","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/SublimeText%2FSublimeCMD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FSublimeCMD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FSublimeCMD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FSublimeCMD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeText","download_url":"https://codeload.github.com/SublimeText/SublimeCMD/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249774589,"owners_count":21323639,"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-08T16:07:57.375Z","updated_at":"2025-04-19T19:14:05.508Z","avatar_url":"https://github.com/SublimeText.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\r\nSublimeCMD\r\n==========\r\n\r\nA simple command processor for Sublime Text.\r\n\r\n\r\nThe Problem\r\n===========\r\n\r\nThe Python console is very cumbersome to use for a number of common tasks. A\r\ndedicated command processor for these tasks can improve the experience.\r\n\r\n\r\nFeature Overview\r\n================\r\n\r\n- Commands to explore settings, commands and keybindings, and to run commands\r\n  by name.\r\n- Integration with PowershellUtils package (if available).\r\n- Integration with UberSelection package (if available).\r\n\r\n\r\nGetting Started\r\n===============\r\n\r\n* Install `SublimeCMD`_\r\n* Install `AAAPackageDev`_ (dependency)\r\n* Optionally install, `UberSelection`_\r\n* Optionally install, `PowershellUtils`_\r\n\r\n.. _SublimeCMD: https://bitbucket.org/guillermooo/sublimecmd/downloads/SublimeCMD.sublime-package\r\n.. _AAAPackageDev: https://bitbucket.org/guillermooo/aaapackagedev/src\r\n.. _UberSelection: https://bitbucket.org/guillermooo/uberselection/src\r\n.. _PowershellUtils: https://bitbucket.org/guillermooo/powershellutils/src\r\n\r\nIf you're running a full installation, simply double click on the ``.sublime-package`` files.\r\nIf you're running a portable installation, perform an `installation by hand`_.\r\n\r\n.. _installation by hand: http://sublimetext.info/docs/extensibility/packages.html#installation-of-packages-with-sublime-package-archives\r\n\r\nLastly, run ``sublime_cmd`` from the Python console or bind this command to a\r\nkey combination::\r\n\r\n   view.run_command(\"sublime_cmd\")\r\n\r\n\r\nHow to Use\r\n==========\r\n\r\nSublimeCMD understands the following types of commands:\r\n\r\n* Intrinsic SublimeCMD commands\r\n* UberSelection commands (see UberSelection docs)\r\n* PowershellUtils commands (see PowershellUtils docs)\r\n\r\nType commands at the SublimeCMD prompt and press ``enter``.\r\n\r\n\r\nIntrinsic Commands\r\n==================\r\n\r\nSyntax:\r\n\r\n   - ``\u003cCOMMAND\u003e[\u003cMODIFIERS\u003e] \u003cARGUMENTS\u003e``\r\n\r\nAt the moment, an argument is always required, even if it's ignored. Some\r\narguments may be simple patterns like ``hell? world`` or ``hell? w*``.\r\n\r\n``run``\r\n   Runs or searches commands depending on the modifiers.\r\n\r\n``set``\r\n   Sets or searches settings depending on the modifiers.\r\n\r\nModifiers\r\n---------\r\n\r\n``?``\r\n   Performs a query based on the argument.\r\n\r\n``!``\r\n   Generally forces verbose output from queries. If combined with query, must\r\n   always precede ``?``.\r\n\r\n``:w|a``\r\n   Applies command to window or application. By default, commands are applied\r\n   to the current view.\r\n\r\n\r\nExamples\r\n--------\r\n\r\n::\r\n\r\n   set word_wrap False\r\n\r\nThis command modifies the setting for the view in the current session.\r\n\r\n::\r\n   \r\n   set? word_wrap\r\n\r\nThis command shows the setting's value in the status bar.\r\n\r\n::\r\n\r\n   set!? w*\r\n\r\nThis command plots all declared values for all settings beggining with ``w`` in\r\nthe order they are applied.\r\n\r\n::\r\n\r\n   run:w increase_font_size\r\n\r\nThis command runs the given argument as a window command.\r\n\r\n::\r\n\r\n   run!? .\r\n\r\nThis command shows all found commands. Note the argument is ignored.\r\n\r\n\r\nPowershell Commands\r\n===================\r\n\r\nPrecede the command with ``!`` or ``r!``::\r\n\r\n   ![datetime]\"$(([datetime]::Now).year)/12/25\"-(date)|%{ \"Days left until Christmas: $($_.days)\"}\r\n   r!\"$pwd\"\r\n\r\n``!``\r\n   Runs the command and outputs results to a new buffer.\r\n\r\n``r!``\r\n   Runs the command and *reads* ouput into selected regions.\r\n\r\n\r\nUberSelection Commands\r\n======================\r\n\r\nType the command normally::\r\n\r\n   ?^def ?,/^def /-1-V/football/;s/foo/bar/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fsublimecmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimetext%2Fsublimecmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fsublimecmd/lists"}