vim-notification
Message notification system for Vim
Usage
call notification#show('Hello World')
call notification#show(#{
\ text: 'Hello World',
\})
If you want to specify waiting time to stay the notification on screen:
call notification#show(#{
\ text: 'Hello World',
\ wait: 300,
\})
To handle clicked/closed event:
function! s:my_clicked(data) abort
echo a:data
endfunction
call notification#show(#{
\ text: 'Hello World',
\ clicked: function('s:my_clicked', ['Hi!']),
\})
Installation
For vim-plug plugin manager:
Plug 'mattn/vim-notification'
License
MIT
Author
Yasuhiro Matsumoto (a.k.a. mattn)