Created
August 21, 2015 22:06
-
-
Save kenjij/6c712e51d44d52204a81 to your computer and use it in GitHub Desktop.
Line-height adjustment in TextMate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This example will make Adobe Source Code Pro font look snug in TextMate. | |
# Adjust space above the line | |
defaults write com.macromates.TextMate.preview fontAscentDelta -float -2 | |
# Adjust space below the line | |
defaults write com.macromates.TextMate.preview fontLeadingDelta -float 0 | |
# Reset to default | |
defaults delete com.macromates.TextMate.preview fontAscentDelta | |
defaults delete com.macromates.TextMate.preview fontLeadingDelta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like properties are different on TextMate 2, I used these ones:
Using com.macromates.TextMate instead of com.macromates.TextMate.preview
Make sure you executed those commands when TextMate is not running.