Sublime Forum

Change 'Add Line Before' to fix indentation

#1

Jon,

Could you update the ‘Add Line Before’ macro to fix indentation?

It seems to work fine when I changed it to:


move lines -1
moveTo hardeol
insertAndDecodeCharacters “\n”

This causes it to add the line with the proper current indentation. This had been bugging the hell outta me, but this new version works swell!

0 Likes

#2

Jon,

Could you please add this so that I don’t have to monkey patch my installations?

Thanks,
Greg

0 Likes

#3

+1

0 Likes