diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index 72bb006..1e7cde4 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -25,6 +25,7 @@ with final.pkgs.lib; let lazy-nvim mini-nvim-git nightfox-nvim + nvim-bqf nvim-lint nvim-lspconfig nvim-treesitter-context diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index cc94128..3c66d15 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -19,12 +19,6 @@ return { noremap = true, desc = 'Trouble diagnostics', }, - { - 'nt', - 'Trouble qflist', - noremap = true, - desc = 'Trouble qflist', - }, }, }, { diff --git a/nvim/lua/plugins/misc.lua b/nvim/lua/plugins/misc.lua index b2f4e71..0c5162a 100644 --- a/nvim/lua/plugins/misc.lua +++ b/nvim/lua/plugins/misc.lua @@ -32,13 +32,11 @@ return { vim.api.nvim_set_hl(0, 'EyelinerSecondary', { underline = true, bold = true }) end, }, - { 'tiagovla/scope.nvim', event = 'VeryLazy', config = true }, + { 'tiagovla/scope.nvim', event = 'VeryLazy', config = true }, { 'MeanderingProgrammer/render-markdown.nvim', event = 'VeryLazy', - opts = { - file_types = { 'markdown' }, - }, + config = true, }, { 'sindrets/diffview.nvim', @@ -131,5 +129,20 @@ return { }, }, }, - { 'ThePrimeagen/refactoring.nvim', event = 'VeryLazy', config = true }, + { + 'ThePrimeagen/refactoring.nvim', + event = 'VeryLazy', + config = true, + keys = { + { 'rv', 'Refactor inline_vardd', mode = { 'n', 'x' } }, + { + 'rr', + function() + require('refactoring').select_refactor { prefer_ex_cmd = true } + end, + mode = { 'n', 'x' }, + }, + }, + }, + { 'kevinhwang91/nvim-bqf', event = 'VeryLazy', config = true }, }