36 lines
1.5 KiB
Lua
36 lines
1.5 KiB
Lua
local options = {
|
|
plugins = {
|
|
marks = true, -- shows a list of your marks on ' and `
|
|
registers = true, -- shows your registers on " in NORMAL or <C-r> in INSERT mode
|
|
spelling = {
|
|
enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions
|
|
suggestions = 20, -- how many suggestions should be shown in the list?
|
|
},
|
|
},
|
|
replace = {
|
|
-- override the label used to display some keys. It doesn't affect WK in any other way
|
|
["<space>"] = "SPC",
|
|
["<cr>"] = "RET",
|
|
["<tab>"] = "TAB",
|
|
},
|
|
icons = {
|
|
breadcrumb = "»", -- symbol used in the command line area that shows your active key combo
|
|
separator = "➜", -- symbol used between a key and it's label
|
|
group = "+", -- symbol prepended to a group
|
|
},
|
|
win = {
|
|
border = "single", -- none, single, double, shadow
|
|
position = "top", -- bottom, top
|
|
margin = { 1, 0, 1, 0 }, -- extra window margin [top, right, bottom, left]
|
|
padding = { 2, 2, 2, 2 }, -- extra window padding [top, right, bottom, left]
|
|
},
|
|
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
|
|
},
|
|
}
|
|
|
|
return options
|