Skip to content

sgennrw/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

🔧 The setup that works for me

Tools

  • homebrew
  • iterm2
  • vscode
  • nvm
  • neovim with amix/vimrc
  • bat ; a cat with wing
  • delta ; git diff

Steps

Install Homebrew

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

Setup ITerm2

brew install --cask iterm2
  1. Setup ohmyzsh

    1. Install ohmyzsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    1. Install zsh-autosuggestions & zsh-syntax-highlighting
    git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
    1. Copy ./scritp into ~/script
    2. Replace ~/.zshrc with ./iterm2/.zshrc
  2. Import Profile

    1. Go to Preferences > Profiles
    2. On the sidebar menu, click Other Actions > Import Json Profiles
    3. Import ./iterm2/iterm2-profile.json
    4. Remove old default
  3. Setup Preferences

    1. Go to Preferences > Appearance > General

      Theme: Minimal
      Tab bar localtion: Top
      Status bar location: Bottom

    2. Go to Preferences > Appearance > Tabs

      [x] Show tab bar even when there is only one tab

    3. Go to Preferences > Keys > Hotkey

      [x] Show/hide all windows with a system-wide hotkey

      Hotkey: ⌥Space

Setup VSCode

brew install --cask visual-studio-code
  1. Install Setting Sync plugin
    1. Upload Key: Shift + Option + U
    2. Download Key: Shift + Option + D

Setup Neovim

brew install neovim
  1. Install Ultimate vimrc
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
  1. Share the config file to neovim

Add below content to ~/.config/nvim/init.vim

set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

Install other tools

brew install --cask docker
brew install node
brew install nvm
brew install bat
brew install git-delta
brew install --cask raycast
brew install --cask obsidian

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages