Personal configuration files for macOS.
Find a file
2025-11-13 17:53:11 +01:00
aerospace Update Aerospace config 2025-11-13 17:53:11 +01:00
appicons Add wallpapers and app icons 2023-04-19 16:20:25 +02:00
bettermouse-export Add a bunch of stuff 2025-02-03 16:34:04 +01:00
cursor-export Raycast and Cursor export 2025-02-28 08:51:59 +01:00
fish Update some configs & add MCP servers 2025-10-31 10:16:48 +01:00
git Replace Supermaven with Windsurf in Neovim 2025-06-02 22:50:32 +02:00
ideavim Update config 2023-07-28 17:09:00 +02:00
iterm2-preferences Update some configs & add MCP servers 2025-10-31 10:16:48 +01:00
karabiner Add a bunch of stuff 2025-02-03 16:34:04 +01:00
nvim Update Neovim plugins 2025-11-13 12:02:13 +01:00
opencode Update Opencode config 2025-11-13 12:02:43 +01:00
raycast-export Add Omarchy-like keybindings to Raycast 2025-11-13 17:40:34 +01:00
raycast-scripts Add Raycast scripts 2023-05-14 09:03:59 +02:00
vim Update .vimrc 2023-03-21 21:38:10 +01:00
vscode-neovim Add random stuff 2025-05-08 16:18:55 +02:00
wallpapers Add a bunch of stuff 2025-02-03 16:34:04 +01:00
zed Add random stuff 2025-05-08 16:18:55 +02:00
.gitignore Add Aerospace config 2025-11-13 17:35:29 +01:00
README.md Add zoxide and fd 2025-09-23 15:43:52 +02:00

Configuration files for macOS

A small collection of configuration files for macOS, including:

  • iTerm2 (terminal emulator)
  • fish (shell)
  • Git
  • Neovim (complete development environment with Coc and a bunch of plugins)
  • Vim (simple configuration, no plugins)
  • IdeaVim (Vim emulation for JetBrains IDEs)
  • Zed (code editor)
  • Karabiner (for mapping CapsLock to Ctrl and Esc)
  • Some wallpapers and custom app icons

Setup

Set up these config files

# Back up old config files (optional)
cp -r ~/.config ~/.config_old

# Set up this repository
cd ~/.config
git init
git branch -m main
git remote add origin git@github.com:mikkelsvartveit/dotfiles.git
git fetch
git reset --hard origin/main
git branch --set-upstream-to=origin/main

# Tell Vim and IdeaVim to source from the right file
echo "source ~/.config/vim/.vimrc" > .vimrc
echo "source ~/.config/ideavim/.ideavimrc" > .ideavimrc

Install software

# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Homebrew packages
brew install fish pyenv git neovim ripgrep zoxide fzf fd

# Install pnpm and Node
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm env use --global lts

# Install pyenv and Python
pyenv install 3.11
pyenv global 3.11

Set up fish shell, oh-my-fish and plugins

fish
fish_add_path /opt/homebrew/bin # Skip this on Intel Macs
echo $(which fish) | sudo tee -a /etc/shells
chsh -s $(which fish)
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
omf install bass
omf install https://github.com/jhillyerd/plugin-git