Skip to content

Instantly share code, notes, and snippets.

@golimpio
Forked from kenjij/textmate-lineheight.sh
Last active March 22, 2021 03:51
Show Gist options
  • Save golimpio/6b88f113eb2730c7acc6b1ef144a38e8 to your computer and use it in GitHub Desktop.
Save golimpio/6b88f113eb2730c7acc6b1ef144a38e8 to your computer and use it in GitHub Desktop.
Line-height adjustment in TextMate 2
# Add extra room between lines (tested with mPlus Nerd Font)
# Adjust space below the line
defaults write com.macromates.TextMate fontLeadingDelta -float 0.5
# Adjust space above the line
defaults write com.macromates.TextMate fontAscentDelta -float 0
# Reset to default
defaults delete com.macromates.TextMate fontLeadingDelta
defaults delete com.macromates.TextMate fontAscentDelta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment