diff --git a/lua/lualine.lua b/lua/lualine.lua index 181ed21..fc0aa8b 100644 --- a/lua/lualine.lua +++ b/lua/lualine.lua @@ -26,7 +26,7 @@ local last_focus = {} local refresh_real_curwin -- The events on which lualine redraws itself -local default_refresh_events = 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved' +local default_refresh_events = 'WinEnter,BufEnter,SessionLoadPost,FileChangedShellPost,VimResized,Filetype,CursorMoved,CursorMovedI' if vim.fn.has('nvim-0.7') == 1 then -- utilize ModeChanged event introduced in 0.7 default_refresh_events = default_refresh_events .. ',ModeChanged' end