79655949

Date: 2025-06-06 12:51:57
Score: 1.5
Natty:
Report link

the workaround is to track mode changes, as following:

:autocmd ModeChanged *:ni[IRV] let g:restart_edit = v:event.new_mode[2]
:autocmd InsertEnter * let g:restart_edit = ''
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dario Colombotto