I was missing the ⌘D functionality from ST where I could add consecutive appearances of the word under the cursor as new selections, so I made a package: https://atom.io/packages/select-words
^⌥N is mapped to select first the word under the cursor unless something is already selected, and after that to select more occurrences. It wraps around when reaching the end of the file.
There is also a “select all occurrences” command, but I can’t get that to work. The callback to TextBuffer.scan
always only gets called once for some reason… if someone could shed light on that, that’d be brilliant.