On Aug 29, 2012, at 10:21 AM, Yuan Jiang sleetdrop@gmail.com wrote:
Sometimes I use intellij idea, it's text editor has a default behavior for CMD+C, if you don't select anythings, it will copy current line. While CMD+X will cut the current line. Maybe it's not a bad idea.
Probably doable with a command that takes either the selection or the current line and sends it to `pbcopy`. I haven't tried it.