Entering lunarvim changes the default cursor type of terminal.
Add the following lines to your config.lua
lvim.autocommands = {
{
"VimLeave",
{
pattern = "*",
command = "set guicursor= | call chansend(v:stderr, \"\x1b[ q\")"
}
}
}
Works like a charm!