28 lines
538 B
Lua
28 lines
538 B
Lua
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",
|
|
},
|
|
},
|
|
})
|