Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Ultimate Dev Setup for Mac OS 🚀🍎

License

NotificationsYou must be signed in to change notification settings

2KAbhishek/mac2k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LicensePeopleStarsForksWatchesLast Updated

Ultimate Dev Setup for Mac OS 🚀🍎

mac2k in action
mac2k in action

mac2k is a set of handcrafted configs for setting up a complete dev environment on Mac OS.

It makes developing on Mac much more pleasant for CLI lovers.

✨ Features

  • Sets up a complete dev environment within minutes
  • Sets up brew and installs essential packages with Brewfile
  • Configures optimal settings for developers
  • All the power and tools provider bydots2k
  • Powerful personalized editing withnvim2k
  • Keyboard driven browsing support withqute2k
  • Tiling window management withAerospace
  • More!!

Setup

🚀 Installation

git clone https://github.com/2kabhishek/mac2kcd mac2k./setup.sh

This will install all necessary packages, symlinks and setup symlinks for you.

To manually run steps fromdots2k setup you can runhttps://github.com/2kabhishek/dots2k/tree/main/setup.sh

💻 Usage

Keybindings

I also set up some keybindings manually, you can find them in the following docs.

Hint: Cmd = ⌘/Command/Windows, Opt = ⌥/Option/Alt, Ctrl = ⌃/Control, fn = Function

Aliases

This also comes with a bunch of mac aliases indots2k shell/aliases.sh to make your life easier.

  • aerr,aert,aerc for aeropace reload config, toggle and editing config
  • bri,brr,brc,brs,bru to brew install, uninstall, cleanup, search, update respectively
  • macdis to disable mac's internal display, useful when using external display, needs restart to re-enable

Other Configs

For most tools I'm symlinking configs over fromdots2k.

Setting up iTerm

I use Alacritty as my default terminal now

Run iTerm and open "Preferences", Go to "Profiles" tab and click on "Other Actions" and then click on "Import JSON Profiles"

Select the./configs/iterm/preofile.json file and import it.

You can also use thehelper script to open iterm from terminal by symlinking it to your path and runningiterm.

Tiling Window Management

I useAerospace as my tiling window manager now

yabai andskhd together provide a tiling window management system for MacOS.

# Symlink yabai and skhd configsln -sfn"$PWD/config/.yabairc""$HOME/"ln -sfn"$PWD/config/.skhdrc""$HOME/"# Start yabai and skhdyabai --start-serviceskhd --start-service# Add alias to restart yabai and skhdalias macres="yabai --restart-service && skhd --restart-service"

Behind The Code

🌈 Inspiration

I am a big fan of CLI and Tiling WMs, MacOS by default doesn't provide a good solution for those, so I decided to configure my own.

💡 Challenges/Learnings

  • Some hiccups with brew and services
  • Learned and implemented recursive git submodules

🧰 Tooling

  • dots2k — Personalized Dev Environment
  • nvim2k — Personalized Editor

⭐ hit the star button if you found this useful ⭐

Source|Blog|Twitter|LinkedIn|More Links|Other Projects

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp