mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 14:37:15 +01:00
add mapping to dismiss
This commit is contained in:
@@ -23,6 +23,14 @@ return {
|
|||||||
lsp_doc_border = true, -- add a border to hover docs and signature help
|
lsp_doc_border = true, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
keys = {
|
||||||
|
{ '<leader>md', '<cmd>Noice dismiss<CR>', mode = 'n', desc = 'Noice dismiss' },
|
||||||
|
},
|
||||||
|
init = function()
|
||||||
|
vim.keymap.set('c', '<S-Enter>', function()
|
||||||
|
require('noice').redirect(vim.fn.getcmdline())
|
||||||
|
end, { desc = 'Redirect Cmdline' })
|
||||||
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
'rcarriga/nvim-notify',
|
'rcarriga/nvim-notify',
|
||||||
|
|||||||
Reference in New Issue
Block a user