Whichkey rework, dashboard, yazi

This commit is contained in:
agryphus 2024-02-20 21:15:43 -05:00
parent d9ac8b2bd1
commit 92bd99d8ea
13 changed files with 197 additions and 39 deletions

16
after/plugin/whichkey.lua Normal file
View file

@ -0,0 +1,16 @@
require("which-key").setup({
window = {
border = "single", -- none, single, double, shadow
position = "bottom", -- bottom, top
margin = { 0, 0, 0, 0 }, -- extra window margin [top, right, bottom, left]. When between 0 and 1, will be treated as a percentage of the screen size.
padding = { 0, 2, 0, 2 }, -- extra window padding [top, right, bottom, left]
winblend = 0, -- value between 0-100 0 for fully opaque and 100 for fully transparent
zindex = 1000, -- positive value to position WhichKey above other floating windows.
},
layout = {
height = { min = 4, max = 25 }, -- min and max height of the columns
width = { min = 20, max = 50 }, -- min and max width of the columns
spacing = 3, -- spacing between columns
align = "left", -- align columns left, center or right
},
})