Closed brenton-leighton closed 3 months ago
Use virtualedit=onemore when calling a custom function so that the cursor is positioned correctly at EOL in insert mode. The cursor position has to be saved before enabling (and restored after disabling) onemore to workaround curswant being lost.
Use virtualedit=onemore when calling a custom function so that the cursor is positioned correctly at EOL in insert mode. The cursor position has to be saved before enabling (and restored after disabling) onemore to workaround curswant being lost.