Skip to content

Instantly share code, notes, and snippets.

@drrost
Created November 1, 2019 14:13
Show Gist options
  • Save drrost/fc320d0a995f5970d53b458d9adf1491 to your computer and use it in GitHub Desktop.
Save drrost/fc320d0a995f5970d53b458d9adf1491 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
defaults write com.apple.dt.Xcode DVTTextEditorTrimTrailingWhitespace -bool YES
defaults write com.apple.dt.Xcode DVTTextEditorTrimWhitespaceOnlyLines -bool YES
defaults write com.apple.dt.Xcode DVTTextIndentTabWidth -int 4
defaults write com.apple.dt.Xcode DVTTextIndentWidth -int 4
defaults write com.apple.dt.Xcode DVTTextPageGuideLocation -int 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment