Skip to content

Commit

Permalink
Add macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Voloboev committed Jan 14, 2018
1 parent 6857135 commit 6d16360
Show file tree
Hide file tree
Showing 34 changed files with 152,583 additions and 7,033 deletions.
8,929 changes: 8,929 additions & 0 deletions km/macros/app/2Do.kmmacros

Large diffs are not rendered by default.

1,230 changes: 1,230 additions & 0 deletions km/macros/app/Activity monitor.kmmacros

Large diffs are not rendered by default.

4,091 changes: 4,091 additions & 0 deletions km/macros/app/Airmail 2.kmmacros

Large diffs are not rendered by default.

14,823 changes: 14,823 additions & 0 deletions km/macros/app/Alfred Preferences.kmmacros

Large diffs are not rendered by default.

2,102 changes: 2,102 additions & 0 deletions km/macros/app/Anki.kmmacros

Large diffs are not rendered by default.

1,826 changes: 1,826 additions & 0 deletions km/macros/app/BetterTouchTool.kmmacros

Large diffs are not rendered by default.

1,788 changes: 1,788 additions & 0 deletions km/macros/app/Coderunner.kmmacros

Large diffs are not rendered by default.

894 changes: 894 additions & 0 deletions km/macros/app/Console.kmmacros

Large diffs are not rendered by default.

10,394 changes: 10,394 additions & 0 deletions km/macros/app/Contacts.kmmacros

Large diffs are not rendered by default.

1,022 changes: 1,022 additions & 0 deletions km/macros/app/DaisyDisk.kmmacros

Large diffs are not rendered by default.

8,401 changes: 8,401 additions & 0 deletions km/macros/app/Dash.kmmacros

Large diffs are not rendered by default.

4,737 changes: 4,737 additions & 0 deletions km/macros/app/Dictionary.kmmacros

Large diffs are not rendered by default.

12,456 changes: 12,456 additions & 0 deletions km/macros/app/Fantastical 2.kmmacros

Large diffs are not rendered by default.

10,479 changes: 10,479 additions & 0 deletions km/macros/app/Finder.kmmacros

Large diffs are not rendered by default.

1,426 changes: 1,426 additions & 0 deletions km/macros/app/FirefoxDeveloperEdition.kmmacros

Large diffs are not rendered by default.

4,039 changes: 4,039 additions & 0 deletions km/macros/app/Flume.kmmacros

Large diffs are not rendered by default.

1,289 changes: 1,289 additions & 0 deletions km/macros/app/Gitter.kmmacros

Large diffs are not rendered by default.

5,524 changes: 5,524 additions & 0 deletions km/macros/app/Google Chrome.kmmacros

Large diffs are not rendered by default.

27,069 changes: 27,069 additions & 0 deletions km/macros/app/Keyboard Maestro.kmmacros

Large diffs are not rendered by default.

15,787 changes: 15,787 additions & 0 deletions km/macros/app/MindNode.kmmacros

Large diffs are not rendered by default.

726 changes: 0 additions & 726 deletions km/macros/app/chrome/inspect element.kmmacros

This file was deleted.

414 changes: 0 additions & 414 deletions km/macros/app/chrome/open current url in safari.kmmacros

This file was deleted.

3,911 changes: 3,911 additions & 0 deletions km/macros/app/iTerm.kmmacros

Large diffs are not rendered by default.

413 changes: 0 additions & 413 deletions km/macros/app/km/focus on groups.kmmacros

This file was deleted.

413 changes: 0 additions & 413 deletions km/macros/app/km/focus on macros.kmmacros

This file was deleted.

891 changes: 0 additions & 891 deletions km/macros/app/km/upload to github gist - [hover over snippet].kmmacros

This file was deleted.

466 changes: 0 additions & 466 deletions km/macros/app/safari/open current url in chrome.kmmacros

This file was deleted.

583 changes: 0 additions & 583 deletions km/macros/app/safari/v - main actions.kmmacros

This file was deleted.

This file was deleted.

3,170 changes: 3,170 additions & 0 deletions km/macros/global/c:Open websites (Chrome).kmmacros

Large diffs are not rendered by default.

3,855 changes: 1,333 additions & 2,522 deletions km/macros/global/General Macros.kmmacros → km/macros/global/g:General.kmmacros

Large diffs are not rendered by default.

4,102 changes: 4,102 additions & 0 deletions km/macros/global/g:Text manipulation.kmmacros

Large diffs are not rendered by default.

1,751 changes: 1,751 additions & 0 deletions km/macros/programming/go:Insert.kmmacros

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions km/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Keyboard Maestro Macros I use
## Contents
- [Explanation](#explanation)
- [KM Plugins](#km-plugins)
- [Macros](#macros)
- [Global Macros](#global-macros)

Expand All @@ -13,18 +14,24 @@ I wrote about how I manage my huge macro library [here](https://forum.keyboardma

All the macros/palettes are attached to this GitHub repository sorted into appropriate folders and I describe some of these macros/palettes below. For others, you can simply clone [this repo](https://github.com/nikitavoloboev/my-mac-os), import things and see what you like. I will be uploading essentially all the macros I use here.

All global macros will have no trigger as they are called with Applescript from [Karabiner](https://wiki.nikitavoloboev.xyz/macOS/apps/karabiner/Karabiner.html). Most macros will have a Usage comment in the beginning where I clarify how I personally use the macro. It looks like this:
All global macros will have no trigger as they are called with Applescript from [Karabiner](https://wiki.nikitavoloboev.xyz/macOS/apps/karabiner/Karabiner.html). Some macros will have a Usage comment in the beginning where I clarify how I personally use the macro. It looks like this:

<img src="https://i.imgur.com/5U1wnqz.png" width="500" alt="img">

A lot of these macros were made with great help from the [Keyboard Maestro forum community](https://forum.keyboardmaestro.com/latest).

Just to emphasize how much KM has impacted my life. My most used macro from all thse macros I share is macro to open Safari browser which I've ran [some 117,091 times](https://i.imgur.com/09KfToP.png) since I made it.

I also really love using [Alfred Maestro](https://github.com/iansinnott/alfred-maestro) workflow that lets me search through my entire KM library of actions to activate.

## KM Plugins
I really like using these KM plugins and additions. It is advised you install them as they really make using KM editor more pleasant.
- [KMFAM - Favourite actions and macros](https://forum.keyboardmaestro.com/t/macro-kmfam-favorite-actions-and-macros/4854) - This plugin lets you save complex and non complex actions and allow you to search over these actions you add quickly.

## Macros
Macros are little `KM scripts` that contain a series of actions. The macros can then be executed from a trigger, usually a hotkey.

In my case all the global macros I share (macros that can run no matter what application is at currently active) have no trigger. This is because I can call these macros from Karabiner using this Applescript code:
In my case all the global macros I share (macros that can run no matter what application is currently active) have no trigger. This is because I can call these macros from Karabiner using this Applescript code:

```applescript
tell application "Keyboard Maestro Engine"
Expand All @@ -34,7 +41,7 @@ end tell

Where `g: Kill All Macros` is a macro name. Where `g:` is a prefix that stands for `global`.

Non global macros that are binding to an app will have a hotkey however. One thing to note is that the hotkey triggers are chosen with respect to my custom keyboard layout.
Non global macros that are binded to an app will have a hotkey however. One thing to note is that the hotkey triggers are chosen with respect to my custom keyboard layout.

I have binded my control key to A key with [Karabiner](https://wiki.nikitavoloboev.xyz/macOS/apps/karabiner/Karabiner.html). My command key is E key and Command + Shift modifier is Q key. So pressing `E` key, holding it and after pressig `F` will trigger `⌘ + F` hotkey. Therefore some bindings will only make sense in context of my own layout. For example `⌃ + W` is easier to reach for me then `⌘ + D`. Because `a + w` is nicer to press then `e + d` on my keyboard. [Karabiner](https://wiki.nikitavoloboev.xyz/macOS/apps/karabiner/Karabiner.html) is one powerful abstraction that makes managing 1000+ macros easy.

Expand Down

0 comments on commit 6d16360

Please sign in to comment.