From 66828167e6d913cad8de52a3d2770b71e5953822 Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 27 Jun 2026 15:55:24 +0200 Subject: [PATCH] better docs --- nvim/.config/nvim/README.md | 2 ++ nvim/.config/nvim/lua/romanzy/remap.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/nvim/.config/nvim/README.md b/nvim/.config/nvim/README.md index ee26c96..0b78fe1 100644 --- a/nvim/.config/nvim/README.md +++ b/nvim/.config/nvim/README.md @@ -6,6 +6,8 @@ Inspirations: # Neovim Notes +See custom keymaps with short descriptions with `h`. + Split shortcuts: - `sv` open a vertical split diff --git a/nvim/.config/nvim/lua/romanzy/remap.lua b/nvim/.config/nvim/lua/romanzy/remap.lua index ae9d8c0..ed435b3 100644 --- a/nvim/.config/nvim/lua/romanzy/remap.lua +++ b/nvim/.config/nvim/lua/romanzy/remap.lua @@ -19,6 +19,7 @@ local function telescope_picker(picker) end map("n", "r", ":source ~/.config/nvim/init.lua", { desc = "reload init.lua" }) +map("n", "h", telescope_picker("keymaps"), { desc = "show keymaps" }) map("n", "dl", "Oil", { desc = "open oil" }) map("n", "ff", telescope_picker("find_files"), { desc = "find files" }) map("n", "fg", telescope_picker("live_grep"), { desc = "live grep" })