dotfiles/nvim/lua/plugins/20-which-key.lua

20 lines
393 B
Lua

return {
"folke/which-key.nvim",
event = "VimEnter",
opts = {
delay = 0,
icons = {
mappings = vim.g.have_nerd_font,
keys = vim.g.have_nerd_font,
},
-- Document existing key chains
spec = {
{ "<leader>s", group = "[S]earch" },
{ "<leader>e", group = "[E]xplorer/Tree" },
{ "<leader>t", group = "[T]oggle" },
{ "<leader>g", group = "[G]oto/Actions" },
},
},
}