Pressing ⌅ to open a URL also works when caret is at the end

Previously when caret was placed immediately after a URL, the key would not work to open it. This is fixed by looking at the caret’s left scope as well as the right one.