This macro duplicates the current line. It will work well in most text editors. It works by selecting the current line, then Copy, then deselect the line and Paste, and finally restores the clipboard. It then reselects the just duplicated line to highlight it and allow further duplication.
Default Trigger: Hot Key ⌘L