diff options
| author | jdhao <jdhao@hotmail.com> | 2021-08-05 01:56:13 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-08-05 01:57:35 +0800 |
| commit | c4d050e99da5a10ebe83e9229dcbd2b21758f54d (patch) | |
| tree | a9b6c65ef3d1ba494976febbe4e08d90a0c51176 /core/mappings.vim | |
| parent | 4d3c038cb500de307eb95e6b7c1ec21f075323c7 (diff) | |
Use nvim-notify for showing messages
Diffstat (limited to 'core/mappings.vim')
| -rw-r--r-- | core/mappings.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 <expr> <s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>" " Edit and reload init.vim quickly nnoremap <silent> <leader>ev :<C-U>tabnew $MYVIMRC <bar> tcd %:h<cr> nnoremap <silent> <leader>sv :<C-U>silent update $MYVIMRC <bar> source $MYVIMRC <bar> - \ echomsg "Nvim config successfully reloaded!"<cr> + \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'})<cr> " Reselect the text that has just been pasted, see also https://stackoverflow.com/a/4317090/6064933. nnoremap <expr> <leader>v printf('`[%s`]', getregtype()[0]) |
