Moving to individual plugin files for lazy
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
31
lua/taken/plugins/cmdline.lua
Normal file
31
lua/taken/plugins/cmdline.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
return {
|
||||
"VonHeikemen/fine-cmdline.nvim",
|
||||
dependencies = "MunifTanjim/nui.nvim",
|
||||
cmd = "FineCmdline",
|
||||
config = function()
|
||||
local cmdline = require("fine-cmdline")
|
||||
|
||||
cmdline.setup({
|
||||
cmdline = {
|
||||
enable_keymaps = true,
|
||||
smart_history = true,
|
||||
prompt = "> ",
|
||||
},
|
||||
popup = {
|
||||
position = {
|
||||
row = "10%",
|
||||
col = "50%",
|
||||
},
|
||||
size = {
|
||||
width = "80%",
|
||||
},
|
||||
border = {
|
||||
style = "rounded",
|
||||
},
|
||||
win_options = {
|
||||
winhighlight = "Normal:Normal,FloatBorder:FloatBorder",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user