mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 21:35:16 +00:00
- Integrated mg_dotfiles as regular directory (not submodule) - Added .zshrc.local.example template for local configs without secrets - Added mg_dotfiles/zsh/.zshrc.local to .gitignore to protect API keys - Updated README to reflect mg_dotfiles integration and new structure - Added nvim configuration directory with LazyVim setup
32 lines
885 B
Lua
32 lines
885 B
Lua
-- This file contains the configuration for the which-key.nvim plugin in Neovim.
|
|
|
|
return {
|
|
-- Plugin: which-key.nvim
|
|
-- URL: https://github.com/folke/which-key.nvim
|
|
-- Description: A Neovim plugin that displays a popup with possible keybindings of the command you started typing.
|
|
"folke/which-key.nvim",
|
|
|
|
event = "VeryLazy", -- Load this plugin on the 'VeryLazy' event
|
|
|
|
init = function()
|
|
-- Set the timeout for key sequences
|
|
vim.o.timeout = true
|
|
vim.o.timeoutlen = 300 -- Set the timeout length to 300 milliseconds
|
|
end,
|
|
|
|
keys = {
|
|
{
|
|
-- Keybinding to show which-key popup
|
|
"<leader>?",
|
|
function()
|
|
require("which-key").show({ global = false }) -- Show the which-key popup for local keybindings
|
|
end,
|
|
},
|
|
{
|
|
-- Define a group for Obsidian-related commands
|
|
"<leader>o",
|
|
group = "Obsidian",
|
|
},
|
|
},
|
|
}
|