From 712b295e890b193154b5248802cd2eefadf9f0f7 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 10 Aug 2023 23:38:15 -0400 Subject: [PATCH] Add some neovim "Trouble" keybindings --- chezmoi/private_dot_config/nvim/lazy-lock.json | 2 -- chezmoi/private_dot_config/nvim/lua/plugins/trouble.lua | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chezmoi/private_dot_config/nvim/lazy-lock.json b/chezmoi/private_dot_config/nvim/lazy-lock.json index 93a236c..39dc428 100644 --- a/chezmoi/private_dot_config/nvim/lazy-lock.json +++ b/chezmoi/private_dot_config/nvim/lazy-lock.json @@ -1,12 +1,10 @@ { - "bufferline.nvim": { "branch": "main", "commit": "243893ba9d5d1049dd451a25cab32ec7f8f67bcf" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, "gitsigns.nvim": { "branch": "main", "commit": "a36bc3360d584d39b4fb076d855c4180842d4444" }, "gruvbox.nvim": { "branch": "main", "commit": "df149bccb19a02c5c2b9fa6ec0716f0c0487feb0" }, "hop.nvim": { "branch": "master", "commit": "03f0434869f1f38868618198b5f4f2ab6d39aef2" }, "indent-blankline.nvim": { "branch": "master", "commit": "7075d7861f7a6bbf0de0298c83f8a13195e6ec01" }, "lazy.nvim": { "branch": "main", "commit": "4c8b625bc873ca76b76eee0c28c98f1f7148f17f" }, - "lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "4f1c72767bec31397d59554f84096909b2887195" }, "mason.nvim": { "branch": "main", "commit": "b68d3be4b664671002221d43c82e74a0f1006b26" }, "mini.nvim": { "branch": "main", "commit": "4fd0f9c72fb54696442c81a64c71514c95239148" }, diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/trouble.lua b/chezmoi/private_dot_config/nvim/lua/plugins/trouble.lua index 41d4945..2e926ec 100644 --- a/chezmoi/private_dot_config/nvim/lua/plugins/trouble.lua +++ b/chezmoi/private_dot_config/nvim/lua/plugins/trouble.lua @@ -6,5 +6,9 @@ return { local keys = require("helpers.keys") keys.map("", "xx", "TroubleToggle") + keys.map("", "xw", "TroubleToggle workspace_diagnostics") + keys.map("", "xd", "TroubleToggle document_diagnostics") + keys.map("", "xq", "TroubleToggle quickfix") + keys.map("", "xl", "TroubleToggle loclist") end }