Skip to content

Files

Latest commit

 

History

History
149 lines (125 loc) · 5.49 KB

README.md

File metadata and controls

149 lines (125 loc) · 5.49 KB

Safari

Bookmarklets

Extensions

YouTube Homepage with "No Distractions" for YouTube

defaults write

Disable the delay when displaying a hidden dock.

defaults write com.apple.Dock autohide-delay -float 0

Dock Autohide Delay Set to 0

Disable Quick Look animation.

defaults write -g QLPanelAnimationDuration -float 0

Enable repeating keys. Essential if you want to use Vim plugins for various applications.

defaults write -g ApplePressAndHoldEnabled -bool false

Command Line

pbcopy & pbpaste

Built-in to macOS, pbcopy and pbpaste allow copying and pasting to and from the pasteboard from the command line.

Example: copying your public key to the pasteboard:

cat ~/.ssh/github.pub | pbcopy

Fonts

Mail App

"Load remote content" keyboard shortcut

  1. Install FastScripts.
  2. Create a new AppleScript for Mail, originally found from this comment.
tell application "Mail"
    try
        if first window is window of front message viewer then
            my messageViewer()
        else
            my regularmessage()
        end if
    on error theError
        my regularmessage()
    end try
end tell
 
on messageViewer()
    tell application "System Events" to tell process "Mail"
        set mainWindow to the first window
        set rootSplitter to the first splitter group of the mainWindow
        set firstSplitter to the last splitter group of the rootSplitter
        set scrollArea to the last scroll area of the firstSplitter
        set scrollGroup to the first group of the scrollArea
       
        if number of groups of the scrollGroup is greater than 1 then
            set maybeRemoteContentGroup to the first group of the scrollGroup
           
            if number of buttons of the maybeRemoteContentGroup is greater than or equal to 1 then
                set maybeRemoteContentButton to the last button of the maybeRemoteContentGroup
                if name of the maybeRemoteContentButton contains "load remote content" then
                    click the maybeRemoteContentButton
                else
                    name of the maybeRemoteContentButton
                end if
            else
                UI elements of maybeRemoteContentGroup
            end if
        else
            UI elements of the scrollGroup
        end if
    end tell
end messageViewer
 
on regularmessage()
    tell application "System Events" to tell process "Mail"
        set mainWindow to the first window
        set mainScrollGroup to the first scroll area of the mainWindow
        set everyMessage to every group of the mainScrollGroup
       
        log (number of everyMessage)
        repeat with currentMessage in everyMessage
            set loadRemoteContentButton to the first button of the first group in the currentMessage
            click the loadRemoteContentButton
        end repeat
    end tell
end regularmessage
  1. I've assigned this shortcut to Cmd+Option+Shift+L.

System Preferences

Keyboard

  • Keyboard

    • Modifier Keys
      • Caps Lock Key: Escape
  • Text

    • Correct spelling automatically
    • Capitalize words automatically
    • Add period with double-space
  • Shortcuts

    • Full Keyboard Access: All Controls

Trackpad

  • Click: Firm
  • Tracking speed: +--+--+--+--+--+--x--+--+--+

Accessibility

Zoom

  • Use scroll gesture with modifier keys to zoom: ^Control

Utilities

Audio

  • Audio Hijack ($59) — record audio from any source on the Mac

Other

Apps

App Cost Description
Day One Journal
Fluid $5 turn a website into a Mac app
iA Writer $5 minimalist text editor
KeyCastr keystroke visualizer, good for demos
PyCharm $90/year
RescueTime
Reveal $60
Scapple $15
Simplenote
Things $50