This commit is contained in:
asep komarudin 2023-01-15 17:55:43 +07:00
parent 2fbcd5d268
commit 1331c98c58
3 changed files with 21 additions and 19 deletions

View file

@ -280,21 +280,22 @@ return {
-- )) -- ))
-- *ini untuk popup dialog -- *ini untuk popup dialog
wilder.set_option('renderer', wilder.popupmenu_renderer( wilder.set_option(
wilder.popupmenu_palette_theme({ "renderer",
wilder.popupmenu_renderer(wilder.popupmenu_palette_theme({
-- 'single', 'double', 'rounded' or 'solid' -- 'single', 'double', 'rounded' or 'solid'
-- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details -- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details
border = 'rounded', border = "rounded",
max_height = '40%', -- max height of the palette max_height = "40%", -- max height of the palette
max_width='40%', max_width = "40%",
min_height = 0, -- set to the same as 'max_height' for a fixed height window min_height = 0, -- set to the same as 'max_height' for a fixed height window
prompt_position = 'top', -- 'top' or 'bottom' to set the location of the prompt prompt_position = "top", -- 'top' or 'bottom' to set the location of the prompt
reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position' reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position'
left = { " ", wilder.popupmenu_devicons() }, left = { " ", wilder.popupmenu_devicons() },
right = { " ", wilder.popupmenu_scrollbar() }, right = { " ", wilder.popupmenu_scrollbar() },
pumblend = 20, pumblend = 20,
}) }))
)) )
end, end,
}, },
{ {

View file

@ -184,6 +184,7 @@ lualine.setup({
"Outline", "Outline",
"DressingInput", "DressingInput",
"toggleterm", "toggleterm",
"lazy",
}, },
always_divide_middle = true, always_divide_middle = true,
}, },

View file

@ -121,14 +121,14 @@ local mappings = {
end, end,
"Coment line", "Coment line",
}, },
p = { -- p = {
name = "Packer", -- name = "Packer",
c = { "<cmd>PackerCompile<cr>", "Compile" }, -- c = { "<cmd>PackerCompile<cr>", "Compile" },
i = { "<cmd>PackerInstall<cr>", "Install" }, -- i = { "<cmd>PackerInstall<cr>", "Install" },
s = { "<cmd>PackerSync<cr>", "Sync" }, -- s = { "<cmd>PackerSync<cr>", "Sync" },
S = { "<cmd>PackerStatus<cr>", "Status" }, -- S = { "<cmd>PackerStatus<cr>", "Status" },
u = { "<cmd>PackerUpdate<cr>", "Update" }, -- u = { "<cmd>PackerUpdate<cr>", "Update" },
}, -- },
g = { g = {
name = "Git", name = "Git",