Sorry for hijacking this thread.
I'm pretty much an Atom n00b but do have software development experience.
In some IDEs, I've a plugin that will select the current word upon copying when nothing was selected.
I think @olmokramer 's snippet would be a good start for writing an atom extension that does this, but since I never wrote one: how would I get started?
- optionally replace current copy behaviour (can I do this on the method level or shortcut level? If latter: how can I find out which keyboard/mouse/menu shortcuts access the copy action)
- if there is a selection, run the current behaviour
- if there is none, select word (maybe make the selection method configurable), then run the current behaviour