Skip to content

Commit 194bd9d

Browse files
authored
Set TextEdit tab width to 4 instead of the default 8 (donnemartin#48)
1 parent dd1f2d0 commit 194bd9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

osx.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,8 @@ defaults write com.apple.TextEdit RichText -int 0
689689
# Open and save files as UTF-8 in TextEdit
690690
defaults write com.apple.TextEdit PlainTextEncoding -int 4
691691
defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4
692+
# Set tab width to 4 instead of the default 8
693+
defaults write com.apple.TextEdit "TabWidth" '4'
692694

693695
# Enable the debug menu in Disk Utility
694696
defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true

0 commit comments

Comments
 (0)