When I switched to Komodo I was used to TextMate and wanted the simple delete line and copy line commands found there. These two javascript macros make that possible although I should note that the copy line uses the clipboard, so every time you use it, you're overwriting clipboard contents.
CTRL + SHIFT + D to duplicate the line you're on
CTRL + SHIFT + K to delete the line you're on
Simple. Won't work correctly if you're on the last line of a file. In use for over a year. Needed to give it to a co-worker so I thought I'd just put it up for anyone else if they want it.
| Attachment | Size |
|---|---|
| LineActions.kpz | 1.25 KB |
Don't mean to spoil your creativity or anything but these options are offered natively :) Check the shortcuts.
Either way, nicely done! ;)
I'm sure I wouldn't have done it if it was already there! :)
Thanks. Great minds must think alike- even my keybindings are the same. I wonder if this was added sometime after I started using Komodo. :)