nvim/lua/plugins/which-key.lua
Maciej Lebiest f3e2fe1e22
Some checks failed
Build neovim image / update-images-manifest (push) Has been cancelled
Build neovim image / build-neovim-arm64 (push) Has been cancelled
Build neovim image / build-neovim-amd64 (push) Has been cancelled
remove deprecated which-key conf
2024-07-25 13:57:09 +02:00

42 lines
2.2 KiB
Lua

return {
conf = {
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
-- the presets plugin, adds help for a bunch of default keybindings in Neovim
-- No actual key bindings are created
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?
},
presets = {
operators = true, -- adds help for operators like d, y, ...
motions = true, -- adds help for motions
text_objects = true, -- help for text objects triggered after entering an operator
windows = true, -- default bindings on <c-w>
nav = true, -- misc bindings to work with windows
z = true, -- bindings for folds, spelling and others prefixed with z
g = true, -- bindings for prefixed with g
},
},
--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
--},
--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
--},
show_help = true, -- show a help message in the command line for using WhichKey
show_keys = true, -- show the currently pressed key and its label as a message in the command line
-- disable the WhichKey popup for certain buf types and file types.
-- Disabled by deafult for Telescope
disable = {
buftypes = {},
filetypes = {},
},
}
}