diff options
| author | jdhao <jdhao@hotmail.com> | 2021-03-20 15:51:17 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-03-20 15:51:17 +0800 |
| commit | b18a643145cb7b2db0551c2041fc86b5bd620eb9 (patch) | |
| tree | d85d157e1dd4e24760ca01f938f9a118c0fb1d08 /core/autocommands.vim | |
| parent | 1bbc694939707f37d13a62d296efaa7844bf5693 (diff) | |
Remove cmd line message auto-clear feature
Diffstat (limited to 'core/autocommands.vim')
| -rw-r--r-- | core/autocommands.vim | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim index 28503d8..fd4654f 100644 --- a/core/autocommands.vim +++ b/core/autocommands.vim @@ -65,18 +65,6 @@ augroup highlight_yank au TextYankPost * silent! lua vim.highlight.on_yank{higroup="YankColor", timeout=300} augroup END -" Clear cmd line message -function! s:empty_message(timer) - if mode() ==# 'n' - echo '' - endif -endfunction - -augroup cmd_msg_cls - autocmd! - autocmd CursorHold * call timer_start(25000, funcref('s:empty_message')) -augroup END - " Highlight groups for cursor color augroup cursor_color autocmd! |
