Skip to content

qqpann/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Quick start

# install zsh beforehand.
curl https://qpan.dev/init.sh | zsh

Manual installation

  • VSCode
  • iTerms
  • GitHub Desktop
  • Homebrew (macOS)

Homebrew bundle management

# Install
brew bundle install
# Update Brewfile
brew bundle dump --force

iTerms theme setup

  • General > Window > Uncheck "Native full screen windows"
  • Profiles > Window
    • Style: set to "Full Screen"
    • Screen: set to "Screen with cursor"
    • Space: set to "All spaces"

Profiles can also be imported/exported as JSON.

Now, you can sync the settings once you run the following command:

defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.dotfiles/iterm"
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true

VSCode config

VSCode does not have a proper default for press & hold behavior, making vim mode hard to use.

defaults read com.microsoft.VSCode ApplePressAndHoldEnabled
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

Set it to false to use press & hold in vim mode to move around.