Fixes #1

This fixes the issue where the cursor does not get placed within the editor after hitting enter.

However, the word select modifier isn't working but with this update this plugin is now usable with OSX!