

I wanted to close notifications without using a mouse. I use Reminders not to forget to take vitamins, call parents, and write journals. I trigger these scripts with keyboard shortcuts using BetterTouchTool.

The scripts I'll introduce here are written by someone else, and I tweaked them when it's needed.

I don't like AppleScripts and never learned to write proper AppleScripts, but it sometimes helps to automate things. You can find my Hammerspoon configuration on this GitHub repository. Hammerspoon is not always stable, and the documentation is often unclear, but it provides powerful features that can't be easily replaced.
MAC APP HAMMERSPOON BLUETOOTH
To turn on and off Do Not Disturb, Wifi, and Bluetooth based on certain conditions.To open an application with a keyboard shortcut, specifically the last used window of an application.I use Hammerspoon mainly for these purposes:
MAC APP HAMMERSPOON MAC
Hammerspoon is an application that allows users to customize and automate their Mac using the Lua programming language. Once you get used to shell scripts and command line tools, you can ditch many applications that require you to use the mouse.įor example, you can replace Postman with Httpie, and SourceTree with tig. If you're already using vim and want to go to the next level, my previous article Learnings after 500 commits to my vimrc might be interesting to you. Once you get used to vim key mappings, you'll be surprised by the number of applications that support vim key mappings. If you couldn’t start vim due to its steep learning curve, using vim plugins in your editor or IDE can be a good start. Vim is not an easy application since it requires lots of time investment, but it's worth the investment if you think you'll use your laptop for a long time. Using vim, you can avoid using the mouse while writing or coding. I use this to launch applications, search things, and run shell commands.
MAC APP HAMMERSPOON UPGRADE
You can find more use cases in this Reddit post: Alfred (free / upgrade for £59)Īlfred is an application launcher and productivity application. With BTT, I open applications and run shell scripts and AppleScripts using keyboard shortcuts. BetterTouchTool ($22)īetterTouchTool (BTT) is a tool that allows you to customize various input devices. I use it to click and scroll with my keyboard. Keymou is an application with which you can map keyboard shortcuts to mouse actions. I stopped using Shortcat after I started using Vimac. Shortcat is similar to Vimac, but it behaves slightly differently. Vimac is an open-source project that works similarly to Vimium.

If you think javascript: is too long, you can add a shortcut by following the description on this page. To avoid using the mouse, type in javascript: in the address bar and press enter. With Vimium, you can avoid using the mouse when the focus is inside a page, but you usually have to click the page if you want to switch focus from the address bar to the page. Switching focus from the address bar to the page If you're not a vim user, you could learn some key mappings with it. Vimium is a Chrome extension that enables you to navigate using keyboard shortcuts. I use these applications, tools, and tricks to avoid using the mouse. I barely move my hands when I use my laptop, and I never had wrist pain after ditching the mouse. I moved from the second-best mouse to the best mouse after I started using Mac, and I rarely use Trackpad when I work. It was the second most popular answer, and the most popular answer was "No mouse is the best mouse."Īs usual, the thread was deleted, being flagged as off-topic. I found it from a Stack Overflow thread discussing the best mouse for developers. It was a mouse that I could map around ten buttons. I used to use one of the most expensive mice on the market, Logitech MX Revolution.
