summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/settings/autocmds.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/settings/autocmds.fnl b/fnl/settings/autocmds.fnl
index 0fcc4ea..d32f814 100644
--- a/fnl/settings/autocmds.fnl
+++ b/fnl/settings/autocmds.fnl
@@ -29,7 +29,8 @@
[:TermOpen
{:pattern ["term://*toggleterm#*"] :command "setlocal spell!"}]
[:VimResized {:command "tabdo wincmd ="}]
- [:FocusGained {:command :checktime}]
+ [[:FocusGained :BufEnter :CursorHold :CursorHoldI]
+ {:command :checktime}]
[:TermOpen
{:pattern "term://*toggleterm#*"
:callback (fn []