The `editor.getSelection()` function seems to fail in jsfile or jscommand, no matter selected with insert or visual mode. `jscommand { console.log(editor.getSelection()) }` gets nothing, no matter mapped in `vimrc` file or put in editor command line. But `editor.getCursor()` works just fine.