Giter VIP home page Giter VIP logo

.macos's Introduction

macOS Setup

Configuration

Change Modifier Keys

System Preferences > Keyboard > Modifier Keys

Caps Lock => Escape
Control => fn/Globe
Option => Option
Command => Command
fn/Globe => Control

Application Shortcuts

System Preferences > Keyboard > Shortcuts > App Shortcuts > +

  • All applications
Close Tab => Control-w
Copy => Control-c
Paste => Control-v
  • Google Chrome / Other Browswers
New Tab => Control-t

Mission Control (Workspace Switching)

  • Add workspaces

    • Applications > Mission Control > Plus Icon
  • Add shortcuts to move between workspaces

    • System Preferences > Keyboard > Shortcuts > Mission Control
Move left a space => Control-Command-Left Arrow
Move right a space => Control-Command-Right Arrow

Shortcut for Opening a New Terminal on Current Desktop

  • Create an Automator service

  • Launchpad > Automator > File > New > Quick Action

  • Change Workflow receives current dropdown to no input

alacritty

  • Drag Run Shell Script to workflow box

  • Get the path to Alacritty and enter it in text area

    which alacritty
    
    /usr/local/bin/alacritty </dev/null &>/dev/null &
    

    Then be sure to add a matching keybinding to .alacritty.toml, because this will not open a new window if alacritty is already focused

.alacritty.toml

[[keyboard.bindings]]
action = 'SpawnNewInstance'
key = 'T'
mods = 'Control|Command'

default terminal

  • Drag Run AppleScript to workflow box

  • Enter the following command in text area

    tell application "Terminal"
      do script ""
      activate
    end tell
    
  • Save the quick action: File > Save (with name like AutomatorActionName)

  • Set the keyboard shortcut: System Preferences > Keyboard > Shortcuts > Services > General > AutomatorActionName

Applications

A note on homebrew installations:

If you are getting a SHA-256 mismatch:

  • Remove downloaded .gz / .zip file from cache directory
brew --cache packagename
  • Download matching release from githuub
  • Overwrite downloaded file from github to cache using mv
  • Install via
brew upgrade packagename

Chrome

  • Settings
    • Make Chrome default browser
    • Make Chrome open tabs "where last left off"

Slack

Make sure Slack notifications are on System Preferences > Sounds and Notifications > Slack > Enable

Git

Installations

VSCode

After Install

Vim

brew edit vim
system "./configure", "--prefix=#{HOMEBREW_PREFIX}",
                      "--mandir=#{man}",
                      "--enable-multibyte",
                      "--with-features=huge",
brew install --build-from-source vim
brew link vim

Rectangle (Window Tiling)

  • Remap tile-left, tile right, tile right-top ... etc
brew install --cask rectangle

Jumpcut (Optional)

  • Tracks clipboard history
brew install --cask jumpcut

Alt-Tab

  • Use to cycle windows, whereas mac native cycles by applications
brew install --cask alt-tab

Preferences

  • Keybinding: <alt-tab>
  • Minimized Windows: Hide
  • Hidden Windows: Hide

Tree

brew install tree

Browser Extensions

.macos's People

Contributors

tecfu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.