diff options
| author | jdhao <jdhao@hotmail.com> | 2020-10-09 10:30:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-09 10:30:55 +0800 |
| commit | d23ef8acd00536fe3423c0d7b43c7d3fa4d4b929 (patch) | |
| tree | 50043eed301051d6a54b26280d0612d7483ca38f /autocommands.vim | |
| parent | 9335b9816c454c5dc115b0310e41f6f1ffceb94b (diff) | |
only clear cmdline output when in normal mode
Diffstat (limited to 'autocommands.vim')
| -rw-r--r-- | autocommands.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocommands.vim b/autocommands.vim index aea00de..096a549 100644 --- a/autocommands.vim +++ b/autocommands.vim @@ -67,7 +67,7 @@ augroup END " Clear cmd line message function! s:empty_message(timer) - if mode() !=# 'c' + if mode() ==# 'n' echo '' endif endfunction |
