![]() hs.itunes: Controls for iTunes music player. Or for more advanced users, using the Homebrew command-line tool by running the below command in the terminal of your choice (e.g. Provides Hammerspoon with the ability to create both local and remote message ports for inter-process communication. You can download it from the Karabiner Elements website and follow the installation instruction, It is a free application with an easy setup for changes in the functionality of your keys. If you want to remap some of your keys, the easiest way to do that is to use the Karabiner Elements application. As a result, you will be not stretching your hands but confidently pressing only two keys on your keyboard. And you are right! Such a combination makes my shortcuts unique, and now I will show you how to remap not so often used keys to this tricky combination. You can think that it is a lot of keys to be pressed at once. I defined my shortcuts using HYPER + selected letter. The right global shortcut has to be unique to not overlap with any shortcuts in your system or IDE. hs.hotkey.assignable(mods, key) -> boolean: Type: Function: Description: Determines whether the hotkey combination can be assigned a callback through Hammerspoon. Later in the post, I will call this combination a Hyper Key. The BrewInfo spoon allows me to point at a Formula or Cask name and press Hyper-b or Hyper-c (for Casks) to have the output of the info command in a popup window, or the same key with Shift-Hyper to open the URL of the Formula/Cask. In my case, it will be the combination of 4 other control keys pressed at once: CMD (⌘) + SHIFT (⇧) + OPTION (⌥) + CTRL(˄). I have a hyper modifier key defined (as cmd+opt+ctrl+shift) and mapped to esc. In my particular case, CAPSLOCK (⇪) is the least used key - I can remap it to a combination of keys, which would be more useful for me! When I need to type capital letters, I hold the SHIFT (⇧) key most of the time. They’re all muscle memory now though.Easy way to remap keys - Karabiner Elementsĭid you ever wonder what key do you use the least often? I figured out it was a CAPSLOCK (⇪) key. hs.hotkey.assignable(mods, key) -> boolean: Type: Function: Description: Determines whether the hotkey combination can be assigned a callback through Hammerspoon. hyper-0 and hyper-2 trigger two different Hammerspoon modes for each, the next key press determines which API I’m using and also gives me a prompt to fill in a parameter for the API when I hit enter after entering the parameter, it opens the URL in my preferred browser for that website.hyper-u (in a browser) copies the title and URL for a web page and puts them on the clipboard in markdown format.hyper-l wrap the selected text with CriticMarkup notation for.hyper-up arrow maximize window (not full screen).Other combinations, most either through KM or Hammerspoon: (It’s b because I originally just used it for picking a browser.) Eventually I’ll probably expand it to include Bunch bunches, shell scripts and more. ![]() One keyboard shortcut, at most three key presses (including the hyperkey), and I can open whatever app, folder or document I need regularly. ![]() KM automatically displays a “conflict palette” that lets me type the first letter or two of the app name (or nickname) to narrow down and then select the app I want, a trick I learned from listening to So:Īnd so on. I use hyper-b as the Keyboard Maestro shortcut for a couple dozen frequently used apps. ![]() My main use of the hyperkey (via Karabiner-Elements) is to launch apps. ![]()
0 Comments
Leave a Reply. |