- Notifications
You must be signed in to change notification settings - Fork5
Ultimate Dev Setup for Mac OS 🚀🍎
License
2KAbhishek/mac2k
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
- 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!!
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
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
- MacOS
- Raycast
- Aerospace
- Arc Browser
- Alacritty from dots2k
- Tmux from tmux-tilit
- Neovim from nvim2k
- Qutebrowser from qute2k
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 configbri
,brr
,brc
,brs
,bru
to brew install, uninstall, cleanup, search, update respectivelymacdis
to disable mac's internal display, useful when using external display, needs restart to re-enable
For most tools I'm symlinking configs over fromdots2k.
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
.
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"
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.
- Some hiccups with brew and services
- Learned and implemented recursive git submodules
⭐ hit the star button if you found this useful ⭐