How do you define key bindings to run recorded macros in Sublime Text 2? I can record a macro, but how do I run it on demand?
Sublime Text run a macro with key bindings
841 views Asked by NightOwlPrgmr At
1
There are 1 answers
Related Questions in MACROS
- drop down list to decide which range my graph will plot
- Catia V5 Dynamic Hidden Line Removal With Macro Please Help Me
- Convert macro to a function but cannot concatenate inputs using std::stringstream
- Common Lisp: How to use a macro within a macro?
- How to remove the "*" in c++ macro args?
- Caused by : java. awt. HeadlessException
- When I click "enable macros" on my PowerPoint presentation, I get an error saying controls can't be activated. They're not registered on this computer
- SAS Macro Variables
- Generate unique type parameter in procedural derive macro
- unexpected interaction between macroexpand-1 and macrolet
- Can C macros be expanded in flex?
- External macro definition in header
- How to undefine and redefine a macro in C++?
- How to check if a macro argument is an integer literal in C
- How come clang and gcc don't produce a cast warning for this openssl macro, but do otherwise?
Related Questions in SUBLIMETEXT2
- Sublime don't want to find words with only a few letter match
- Toggle comment color in Sublime Text
- Mark Text in Command Prompt in Sublime Terminus
- Screen Scroll when using multiple cursors in Sublime Text
- Windows variable in Sublime Text Build
- CSS on Sublime 2 Indents Falsely
- Separate Build for every file/tab in Sublime Text
- Default message when Build System starts in Sublime Text
- Delete every whitespace or tab or newline until a character is present with Sublime
- How to copy line in Sublime without new line
- Ungreedy regex matching in sublime text 2
- Shortcut to open the currently opened file's folder left panel
- Sublime Text 2: Find all 8 digit sequences between slashes and replace
- Reindent minified Javascript with Sublime
- Sublime Text: overlay cannot match file name with @
Related Questions in KEY-BINDINGS
- 2 characters stop when other jump or 2 stop when changing the Direction - JAVA
- Visual Studio Key Bindings - Have the same Key Binding do different Tasks with each Subsequent Press
- Make keyboard shortcut inactive when text input is focused
- Any placeholder rules or keybinding commands to select a pair of characters in vscode?
- Bash custom autocompletion triggered by key
- tmux "chord" keyboard shortcuts not being interpreted on Mac
- Zed: How to search across all files within a workspace?
- Autohotkey two buttons pressed result in third button
- Robust and native way to completely change from `C-x` to `C-S-x` in emacs?
- fish shell + WebStorm terminal: how to use Alt + backspace to delete entire word
- How can I export my key bindings from Pycharm to VS code?
- How to get emacs ctrl-d functionality back
- VSCode - Vite Open Browser Shortcut
- In Eclipse C/C++ IDE, how do I disable accessibility features to unbind the F10 key from accessing main menus, like in Eclipse Java IDE?
- How can I delete unwanted keys in spacemacs org-cite/citar?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Assuming you already know how to create and save a macro I will only show how to define a key binding to run the saved macros.
I couldn't locate an answer on SO and Google, so I decided to post the answer here for anyone else who needs to do such functionality in the future.
This has been tested in Sublime 2, but most likely is the same sytax as in Sublime 3. The file location of the saved macro may be different depending on version and where you decided to save your macro file.
In Sublime 2 the macros default to the
Sublime 2\Data\Packages\User\directory and is where I will reference in my example.Example:
This binding will execute the macro file specified using the
alt+shift+okey combination.