cycold / sublime-multicommand

SublimeText plugin to run multiple commands on one keybinding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SublimeText Multicommand

Plugin for sublime to run multiple commands for a keybinding

Install

Install Multicommand through package control

Usage

Open your sublime-keymap file from Preferences -> Key Bindings in Sublime Text.

Wrap the commands you want to execute within a multicommand section, the plugin will then execute them in order.

{
  "keys": ["super+s"],
  "command": "multicommand",
  "args": {
    "commands": [
      {
        "command": "save"
      },
      {
        "command": "do_something_else"
      },
      {
        "command": "show_panel",
        "args": { "panel": "find_in_files" }
      }
    ]
  }
}

About

SublimeText plugin to run multiple commands on one keybinding

License:MIT License


Languages

Language:Python 100.0%