{"id":22865570,"url":"https://github.com/tecfu/.macos","last_synced_at":"2026-01-07T23:46:53.440Z","repository":{"id":66184287,"uuid":"476084561","full_name":"tecfu/.macOS","owner":"tecfu","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-04T01:26:57.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T14:32:07.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecfu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-30T23:33:46.000Z","updated_at":"2024-07-04T01:27:00.000Z","dependencies_parsed_at":"2023-09-29T05:46:19.577Z","dependency_job_id":null,"html_url":"https://github.com/tecfu/.macOS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2F.macOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2F.macOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2F.macOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecfu%2F.macOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecfu","download_url":"https://codeload.github.com/tecfu/.macOS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450403,"owners_count":20779406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T11:37:39.344Z","updated_at":"2026-01-07T23:46:53.410Z","avatar_url":"https://github.com/tecfu.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# macOS Setup\n\n## Configuration\n\n### Change Modifier Keys\n\nSystem Preferences \u003e Keyboard \u003e Modifier Keys\n\n```sequence\nCaps Lock =\u003e Escape\nControl =\u003e fn/Globe\nOption =\u003e Option\nCommand =\u003e Command\nfn/Globe =\u003e Control\n```\n\n### Application Shortcuts\n\nSystem Preferences \u003e Keyboard \u003e Shortcuts \u003e App Shortcuts \u003e +\n\n- All applications\n\n```sequence\nClose Tab =\u003e Control-w\nCopy =\u003e Control-c\nPaste =\u003e Control-v\n```\n\n- Google Chrome / Other Browswers\n\n```sequence\nNew Tab =\u003e Control-t\n```\n\n### Mission Control (Workspace Switching)\n\n- Add workspaces\n    - Applications \u003e Mission Control \u003e Plus Icon\n\n- Add shortcuts to move between workspaces\n    - System Preferences \u003e Keyboard \u003e Shortcuts \u003e Mission Control\n\n```sequence\nMove left a space =\u003e Control-Command-Left Arrow\nMove right a space =\u003e Control-Command-Right Arrow\n```\n\n## Shortcut for Opening a New Terminal on Current Desktop\n\n- Create an `Automator` service\n\n- Launchpad \u003e Automator \u003e File \u003e New \u003e Quick Action\n- Change `Workflow receives current` dropdown to `no input`\n\n_alacritty_\n\n- Drag `Run Shell Script` to workflow box\n- Get the path to Alacritty and enter it in text area\n  ```\n  which alacritty\n  ```\n\n  ```\n  /usr/local/bin/alacritty \u003c/dev/null \u0026\u003e/dev/null \u0026\n  ```\n\n  Then be sure to add a matching keybinding to .alacritty.toml, because this will not open a new window if alacritty is already focused\n\n.alacritty.toml\n```\n[[keyboard.bindings]]\naction = 'SpawnNewInstance'\nkey = 'T'\nmods = 'Control|Command'\n```\n\n_default terminal_\n\n- Drag `Run AppleScript` to workflow box\n- Enter the following command in text area\n\n  ```\n  tell application \"Terminal\"\n    do script \"\"\n    activate\n  end tell\n  ```\n\n- Save the quick action: File \u003e Save (with name like AutomatorActionName)\n- Set the keyboard shortcut: System Preferences \u003e Keyboard \u003e Shortcuts \u003e Services \u003e General \u003e AutomatorActionName\n\n## Applications\n\n\u003e A note on homebrew installations:\n\nIf you are getting a SHA-256 mismatch:\n\n- Remove downloaded .gz / .zip file from cache directory\n\n```sequence\nbrew --cache packagename\n```\n\n- Download matching release from githuub\n- Overwrite downloaded file from github to cache using `mv`\n- Install via\n\n```sequence\nbrew upgrade packagename\n```\n\n### Chrome\n\n- Settings\n    - Make Chrome default browser\n    - Make Chrome open tabs \"where last left off\"\n\n### Slack\n\nMake sure Slack notifications are on\nSystem Preferences \u003e Sounds and Notifications \u003e Slack \u003e Enable\n\n### Git\n\n- Git autocomplete in terminal\n  https://www.macinstruct.com/tutorials/how-to-enable-git-tab-autocomplete-on-your-mac/\n\n## Installations\n\n### VSCode\n\n#### After Install\n\n- Use the Uninstall 'code' command in the PATH command before the \"Install 'code' command in PATH\" command.\n\n- Download and install config from https://github.com/tecfu/vscode-config\n\n\n### Vim\n\n1.\n\n```sequence\nbrew edit vim\n```\n\n2.\n\n```sequence\nsystem \"./configure\", \"--prefix=#{HOMEBREW_PREFIX}\",\n                      \"--mandir=#{man}\",\n                      \"--enable-multibyte\",\n                      \"--with-features=huge\",\n```\n\n3.\n\n```sequence\nbrew install --build-from-source vim\nbrew link vim\n```\n\n### Rectangle (Window Tiling)\n\n- Remap tile-left, tile right, tile right-top ... etc\n\n```sequence\nbrew install --cask rectangle\n```\n\n### Jumpcut (Optional)\n\n- Tracks clipboard history\n\n```sequence\nbrew install --cask jumpcut\n```\n\n### Alt-Tab\n\n- Use \u003calt-tab\u003e to cycle windows, whereas mac native cycles by applications\n\n```sequence\nbrew install --cask alt-tab\n```\n\n_Preferences_\n\n- Keybinding: `\u003calt-tab\u003e`\n- Minimized Windows: Hide\n- Hidden Windows: Hide\n\n### Tree\n\n```sequence\nbrew install tree\n```\n\n### Browser Extensions\n\n- surfingkeys https://github.com/tecfu/Surfingkeys/tree/hack_hint_sizes\n  - Best known vim plugin (\u003e vimium, \u003e vimium-c)\n- Duplicate Tab: https://github.com/stefansundin/duplicate-tab\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecfu%2F.macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecfu%2F.macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecfu%2F.macos/lists"}