Added cmdline plugin

This commit is contained in:
2023-06-22 12:04:20 +02:00
parent 5bafd13b39
commit 3bac8087cf
2 changed files with 151 additions and 113 deletions

27
after/plugin/cmdline.lua Normal file
View File

@@ -0,0 +1,27 @@
local status, cmdline = pcall(require, "fine-cmdline")
if not status then
return
end
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",
},
},
})