From c4d050e99da5a10ebe83e9229dcbd2b21758f54d Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 5 Aug 2021 01:56:13 +0800 Subject: Use nvim-notify for showing messages --- core/mappings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/mappings.vim') diff --git a/core/mappings.vim b/core/mappings.vim index a7712df..19e6a10 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -102,7 +102,7 @@ inoremap pumvisible() ? "\" : "\" " Edit and reload init.vim quickly nnoremap ev :tabnew $MYVIMRC tcd %:h nnoremap sv :silent update $MYVIMRC source $MYVIMRC - \ echomsg "Nvim config successfully reloaded!" + \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'}) " Reselect the text that has just been pasted, see also https://stackoverflow.com/a/4317090/6064933. nnoremap v printf('`[%s`]', getregtype()[0]) -- cgit v1.2.3