aboutsummaryrefslogtreecommitdiff
path: root/autocommands.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-10 00:35:14 +0800
committerjdhao <jdhao@hotmail.com>2020-10-10 00:35:14 +0800
commit8c279f1612d3e39336249a0726da5dbf8351c7b9 (patch)
tree7f2516aa11ca078e3e225f8a26c9db5b2df819aa /autocommands.vim
parenta5eea11a5721b7abf4fa9b6ee2d074981bf236c3 (diff)
cursorhold is better than cmdlineleave for clear msg
Diffstat (limited to 'autocommands.vim')
-rw-r--r--autocommands.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocommands.vim b/autocommands.vim
index 3e0e8d0..8f9348f 100644
--- a/autocommands.vim
+++ b/autocommands.vim
@@ -74,6 +74,6 @@ endfunction
augroup cmd_msg_cls
autocmd!
- autocmd CmdlineLeave : call timer_start(20000, funcref('s:empty_message'))
+ autocmd CursorHold * call timer_start(25000, funcref('s:empty_message'))
augroup END
"}