From eb56a4b019deefb72f780d71fd1f74ed4ff98699 Mon Sep 17 00:00:00 2001 From: Kristinita Date: Sat, 1 Oct 2016 20:12:45 +0300 Subject: [PATCH 1/3] Add command palette support --- Default.sublime-commands | 16 ++++++++++++++++ package-metadata.json | 1 + 2 files changed, 17 insertions(+) create mode 100644 Default.sublime-commands create mode 100644 package-metadata.json diff --git a/Default.sublime-commands b/Default.sublime-commands new file mode 100644 index 0000000..68aefa7 --- /dev/null +++ b/Default.sublime-commands @@ -0,0 +1,16 @@ +[ + { + "caption": "Macroptimize: Select Macro", + "command": "macroptimize", + "args": { + "runLast": false + } + }, + { + "caption": "Macroptimize: Run Last Macro", + "command": "macroptimize", + "args": { + "runLast": true + } + } +] diff --git a/package-metadata.json b/package-metadata.json new file mode 100644 index 0000000..8bd7f03 --- /dev/null +++ b/package-metadata.json @@ -0,0 +1 @@ +{"sublime_text": ">=3000", "platforms": ["*"], "version": "0.3.0", "url": "https://github.com/bigcakes/Macroptimize", "description": "A Sublime Text 3 Plugin for making working with macros less clunky", "dependencies": []} \ No newline at end of file From 962cc4d215cfa8b9be80cabb5f93056029a8e088 Mon Sep 17 00:00:00 2001 From: Kristinita Date: Sat, 1 Oct 2016 20:13:21 +0300 Subject: [PATCH 2/3] Add command palette support --- package-metadata.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 package-metadata.json diff --git a/package-metadata.json b/package-metadata.json deleted file mode 100644 index 8bd7f03..0000000 --- a/package-metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"sublime_text": ">=3000", "platforms": ["*"], "version": "0.3.0", "url": "https://github.com/bigcakes/Macroptimize", "description": "A Sublime Text 3 Plugin for making working with macros less clunky", "dependencies": []} \ No newline at end of file From 6825c3304faee2b06627a3464d147a3d7445aa64 Mon Sep 17 00:00:00 2001 From: Kristinita Date: Sat, 1 Oct 2016 20:15:42 +0300 Subject: [PATCH 3/3] Add command palette support --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d3e0a41..3d1c09c 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Install this plugin with [Package Control](https://packagecontrol.io/packages/Ma Just ctrl+alt+z and select which macro to run or if you have already ran a macro, press ctrl+alt+x to run the last macro again! +Or select commands `Macroptimize: Select Macro` and `Macroptimize: Run Last Macro` in command palette. + ## TODO - Repeat until end of file setting (maybe even per macro)