diff --git a/README.md b/README.md index fae2ef8d..e1eaf2c0 100644 --- a/README.md +++ b/README.md @@ -164,11 +164,12 @@ https://github.com/Bekaboo/dropbar.nvim/assets/76579810/e8c1ac26-0321-4762-9975- and not vim.wo[win].diff end, update_events = { - 'CursorHold', - 'CursorHoldI', + 'CursorMoved', + 'CursorMovedI', 'DirChanged', 'FileChangedShellPost', 'TextChanged', + 'TextChangedI', 'VimResized', 'WinResized', 'WinScrolled', @@ -486,11 +487,12 @@ general behavior of the plugin: - Default: ```lua { - 'CursorHold', - 'CursorHoldI', + 'CursorMoved', + 'CursorMovedI', 'DirChanged', 'FileChangedShellPost', 'TextChanged', + 'TextChangedI', 'VimResized', 'WinResized', 'WinScrolled', diff --git a/doc/dropbar.txt b/doc/dropbar.txt index e1e3ff12..dcb76580 100644 --- a/doc/dropbar.txt +++ b/doc/dropbar.txt @@ -160,11 +160,12 @@ behavior of the plugin: - Default: >lua { - 'CursorHold', - 'CursorHoldI', + 'CursorMoved', + 'CursorMovedI', 'DirChanged', 'FileChangedShellPost', 'TextChanged', + 'TextChangedI', 'VimResized', 'WinResized', 'WinScrolled', diff --git a/lua/dropbar/configs.lua b/lua/dropbar/configs.lua index cdb1f439..cd8275ec 100644 --- a/lua/dropbar/configs.lua +++ b/lua/dropbar/configs.lua @@ -11,11 +11,12 @@ M.opts = { and not vim.wo[win].diff end, update_events = { - 'CursorHold', - 'CursorHoldI', + 'CursorMoved', + 'CursorMovedI', 'DirChanged', 'FileChangedShellPost', 'TextChanged', + 'TextChangedI', 'VimResized', 'WinResized', 'WinScrolled',