Clone this repo
cd ~/code
git clone git@github.com:armno/dotfiles.gitInstall Homebrew, then install all packages needed for the set up mentioned in this readme.
brew install eza zoxide coreutils editorconfig git-delta bat fzf starship fnm- Download Ghostty
- Symlink Ghostty config file
mkdir -p ~/.config/ghostty
ln -s ~/code/dotfiles/.config/ghostty/config ~/.config/ghostty/configSymlink .zshrc config
ln -s ~/code/dotfiles/.zshrc ~/.zshrczsh plugins
brew install zsh-autosuggestion zsh-syntax-highlightingcheck brew info zsh-autosuggestions and brew info zsh-autosuggestions and update paths in .zshrc if needed.
ln -s ~/code/dotfiles/.aliases ~/.aliases
ln -s ~/code/dotfiles/.functions ~/.functions- Install Nerd Fonts from https://ohmyposh.dev/docs/installation/fonts
- symlink the config file
ln -s ~/code/dotfiles/.config/starship.toml ~/.config/starship.tomlInstall it here and activate the theme
base16_material-darkerMy Vim setup requires ag and editorconfig, which are already installed by the brew command above.
Install Plug from https://github.com/junegunn/vim-plug#unix, then install plugins with
vim +PlugInstall +qalland symlink Vim's config file
ln -s ~/code/dotfiles/.vimrc ~/.vimrcTODO: macOS 13.x doesn't need these settings anymore i think
Enable key repeats
defaults write -g ApplePressAndHoldEnabled -bool falseMake keyboard key repeats faster
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)Go to System Preferences > Keyboard. Set Key Repeat to be fastest and Delay Until Report to be shortest.
Enable key-repeat for VScode when using it with Vim extenstion. To be honest, I don't know which one works.
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
defaults delete -g ApplePressAndHoldEnabledDon't forget to add 'markdown' in the config after installed Prettier:
"prettier.disabledLanguages": [
"markdown"
]Create a local .gitconfig file that extends the one in this repo
touch ~/.gitconfigAnd put custom Git config there. For example:
[include]
path = ~/code/dotfiles/.gitconfig
[user]
name = Another Armno
email = anotheremail
TODO: This doesn't do anything i think. it just creates a symlink without actually run the commands inside.
ln -s ~/code/dotfiles/.osx ~/.osx
killall SystemUIServertouch ~/.hushloginbat another kind of cat.
mkdir -p ~/.config/bat
ln -s .config/bat/config ~/.config/bat/config