add cmd popup window

This commit is contained in:
2026-04-23 10:43:32 +02:00
parent 92e60d0698
commit 4fd57ec9c4
5 changed files with 25 additions and 2 deletions

20
lua/plugins/cmd_popup.lua Normal file
View File

@@ -0,0 +1,20 @@
return {
"folke/noice.nvim",
event = "VeryLazy",
opts = {
cmdline = {
view = "cmdline_popup", -- This ensures it's a popup and not at the bottom
},
presets = {
bottom_search = false, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- render entities like :help in a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = true, -- add a border to hover docs and signature help
},
},
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
}
}