Hacker News new | comments | show | ask | jobs | submit login

You could also just do C-{a e Space y} ;)

I’m not sure what you mean.

Sorry, should've been C-{a Space e w y}.

Go to beginning of line, set mark, go to end of line, copy, paste.

I want to duplicate the current line, not just put it in the killring.

In ST2: Ctrl+C Ctrl+V (without anything selected).

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact