Closed meiningnie closed 1 year ago
with some debugging, I found it caused by "lualine" and "indentline". After I commented out both of them in "init.lua", this problem disappears. But I didn't figure out the reason.
I added this to options.lua and it seems to work.
vim.cmd "set virtualedit+=onemore"
Side effect is now I can move past the end of the line in normal mode too. But I'm OK with it.
This is a nice configuration, but there seems to be a small problem. In visual mode, I can no longer move the cursor to the end of the line to select the "new line" character.