I'm a quite new user of LaTeX and one thing I miss in TeXShop on mac is a "Duplicate Line"-command, espacially when writing mathematical derivations. It's my impression that it is possible to create a macro that does the trick, but unfortunately my programming skills are not that good, so does anyone have a solution?
I found this solution for TextWrangler (https://groups.google.com/forum/#!msg/textwrangler/Orei3W7bsV4/kAGwnv9R_owJ). Are there a simple way of connecting the Applescript to TeXShop or does anyone have a script for the TeXShop macro editor?
Thanks
vegaso
#SEL##SEL##INS#fro the code. The#SEL#represents the selected text so you'll need to select the line and then this will duplicate the line for you. – Peter Grill Dec 01 '15 at 00:29