Skip to content

Commit

Permalink
🔧 add macos config
Browse files Browse the repository at this point in the history
  • Loading branch information
aminedjeghri committed Nov 18, 2024
1 parent ad122fc commit 05e86a9
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,8 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

docs/macos/zed
!docs/macos/zed/keymap.json
!docs/macos/zed/settings.json
!docs/macos/zed/themes
File renamed without changes.
22 changes: 12 additions & 10 deletions docs/macos/macos
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ feel free to do so :

- install brave browser
- install sdk tools (it installs git) (i used pycharm since it does it automatically, pycharm activate sync settings)
- install omz, powerlvl10k ? always install this first, becasue it updates the .zshrc file

- install brew + copy path
- install
- install raycast
- install omz, powerlvl10k ? always install this first, because it updates the .zshrc file
- (optional) install uv and copy this to zshrc :

- install brew then : echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
- brew install bat fastfetch btop ....
- install raycast (import settings if previously installed)
- brew install iTerm2 (if manual from raycast) . import settings : it includes
- iterm2 ( change the font to Jetbrains font, change also the color)
- command +t : new tab
- command+d :
- command + i : settings
- brew install bat fastfetch btop , lsd....
...
echo 'alias cat="bat"' >>~/.zshrc
bat is the macos equivalent of ubuntu's batcat
Expand All @@ -23,10 +26,9 @@ feel free to do so :
- you can alias another python if you want echo this : alias python=/usr/bin/python3 in .zshrc (this is the python that comes with macos)
- alias python="uv run python" in .zshrc

- install new terminal ? iterm2 ( change the font to Jetbrains font, change also the color)
- command +t : new tab
- command+d :
- command + i : settings



- alttab : alttab as in windows & also, close directly apps from there (if you switch the keys like i did, you will have a similar env as in windows)
- raycast (powershell alternative) with extensions. it also has a camera preview, brew search, and loooot more
- extensions to isntall :
Expand Down
21 changes: 21 additions & 0 deletions docs/macos/zed/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
[
{
"context": "Workspace",
"bindings": {
// "shift shift": "file_finder::Toggle"
}
},
{
"context": "Editor",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
}
}
]
23 changes: 23 additions & 0 deletions docs/macos/zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"telemetry": {
"diagnostics": false,
"metrics": false
},
"ui_font_size": 16,
"buffer_font_size": 13,
"buffer_font_family": "JetBrainsMono Nerd Font",
"base_keymap": "JetBrains",
"theme": {
"mode": "system",
"light": "One Dark - Darkened",
"dark": "Night Owl Dark"
}
}

0 comments on commit 05e86a9

Please sign in to comment.