-- Editor quality-of-life: auto-pairs, key hints, git signs return { -- Auto-close brackets, quotes, etc. { "windwp/nvim-autopairs", event = "InsertEnter", config = true, }, -- Press and wait to see all available keybindings { "folke/which-key.nvim", event = "VeryLazy", config = function() require("which-key").setup({}) end, }, -- Git change indicators in the gutter + hunk actions -- gp → preview hunk diff -- gb → blame current line { "lewis6991/gitsigns.nvim", config = function() require("gitsigns").setup({ signs = { add = { text = "▎" }, change = { text = "▎" }, delete = { text = "" }, topdelete = { text = "" }, changedelete = { text = "▎" }, }, }) local map = vim.keymap.set map("n", "gp", "Gitsigns preview_hunk", { desc = "Preview hunk" }) map("n", "gb", "Gitsigns blame_line", { desc = "Git blame line" }) end, }, }