dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit ce990a21933bbb8586f82e7fadde1547a9d24ef6
parent 34de6be640dc9ca9a625cc57338aac8f8b4e129b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 25 Aug 2024 14:22:20 -0700

vim: Add Trouble.nvim plugin

Diffstat:
M.config/nvim/lazy-lock.json | 5+++--
M.config/nvim/lua/plugins/utilities.lua | 12++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json @@ -1,11 +1,12 @@ { - "fzf-lua": { "branch": "main", "commit": "1ac27d5734ccd057ef2b46a8644022913f37b89e" }, - "gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" }, + "fzf-lua": { "branch": "main", "commit": "9226c5a2291ef623ef157e0e1ffea034ffc8b8de" }, + "gitsigns.nvim": { "branch": "main", "commit": "80214a857ce512cc64964abddc1d8eb5a3e28396" }, "gn": { "branch": "main", "commit": "225e90c5025bf74f41dbee60d9cde4512c846fe7" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "nvim-lspconfig": { "branch": "master", "commit": "911167921d49cd5c1c9b2436031d0da3945e787f" }, "rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" }, "solarized-osaka.nvim": { "branch": "main", "commit": "126d394c0c979a99206214a2b6b8c86e456c9c0f" }, + "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, "vim-beancount": { "branch": "master", "commit": "25bcbc773554b5798d253a1a5fa5de158792f95e" }, "vim-clang-format": { "branch": "master", "commit": "6b791825ff478061ad1c57b21bb1ed5a5fd0eb29" }, "vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" } diff --git a/.config/nvim/lua/plugins/utilities.lua b/.config/nvim/lua/plugins/utilities.lua @@ -1,4 +1,16 @@ return { + { + "folke/trouble.nvim", + opts = {}, + cmd = "Trouble", + keys = { + { "<leader>xx", "<cmd>Trouble diagnostics toggle<cr>", desc = "Diagnostics", }, + { "<leader>xX", "<cmd>Trouble diagnostics toggle filter.buf=0<cr>", desc = "Buffer Diagnostics", }, + { "<leader>xq", "<cmd>Trouble qflist toggle<cr>", desc = "Quickfix List", }, + { "<leader>cs", "<cmd>Trouble symbols toggle focus=false<cr>", desc = "Symbols", }, + { "<leader>cl", "<cmd>Trouble lsp toggle focus=false win.position=right<cr>", desc = "LSP Definitions / references / ...", }, + }, + }, { "ibhagwan/fzf-lua" }, { "lewis6991/gitsigns.nvim" }, { "tpope/vim-fugitive" },