This implements / fixes several blockers in getting vim-surround working, including:
Externalize the getchar function, which crashes currently - this will give Onivim / Revery a hook to provide characters.
For the norm! command, use the same state machine that is used to process user input - removes an extraneous code path.
Bring back the clipboard option, as some plugins manipulate it - the strategy of always using a clipboard provider won't work properly with plugins that need to set it explicitly.
This implements / fixes several blockers in getting
vim-surround
working, including:getchar
function, which crashes currently - this will give Onivim / Revery a hook to provide characters.norm!
command, use the same state machine that is used to process user input - removes an extraneous code path.clipboard
option, as some plugins manipulate it - the strategy of always using a clipboard provider won't work properly with plugins that need to set it explicitly.