aboutsummaryrefslogtreecommitdiff
path: root/core/mappings.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-20 01:12:35 +0800
committerjdhao <jdhao@hotmail.com>2021-08-20 01:12:35 +0800
commit42a0663184cb356d4e662956a2b8f04c3b38007b (patch)
treee9571d77549ac9252fd52c3c111a206b381e95a4 /core/mappings.vim
parent30774cac5bc02ab8638ac7667e5eee8e0f41a9a6 (diff)
Reduce timeout for nvim-notify
Diffstat (limited to 'core/mappings.vim')
-rw-r--r--core/mappings.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mappings.vim b/core/mappings.vim
index 19e6a10..ebd9d26 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>
- \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'})<cr>
+ \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config', 'timeout': 2500})<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])