-
Install Homebrew The Missing Package Manager for macOS (or Linux) — Homebrew
-
Download Miniforge3
-
Install Miniforge3 and restart your terminal as soon as the installation finishes:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This manually toggles play/pause on Apple Music.app | |
function apple_music_playback() | |
hs.application.launchOrFocus("Music") | |
local aapl_music = hs.appfinder.appFromName("Music") | |
local str_pause = {"Controls", "Pause"} | |
local str_play_and_pause = {"Controls", "Play"} | |
local pause = aapl_music:findMenuItem(str_pause) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |