From 1e7b52a4292884dd43b4992df1a2db2285c4373e Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Wed, 2 Aug 2023 12:32:26 +0200 Subject: [PATCH] feat: more neovim things --- home/neovim/lua/plugins/telekasten.lua | 1 + home/neovim/lua/plugins/trouble.lua | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 home/neovim/lua/plugins/trouble.lua diff --git a/home/neovim/lua/plugins/telekasten.lua b/home/neovim/lua/plugins/telekasten.lua index 287b58e..67e7c53 100644 --- a/home/neovim/lua/plugins/telekasten.lua +++ b/home/neovim/lua/plugins/telekasten.lua @@ -1,5 +1,6 @@ return { 'renerocksai/telekasten.nvim', + cmd = "Telekasten", dependencies = { 'nvim-telescope/telescope.nvim', 'renerocksai/calendar-vim', diff --git a/home/neovim/lua/plugins/trouble.lua b/home/neovim/lua/plugins/trouble.lua new file mode 100644 index 0000000..b101472 --- /dev/null +++ b/home/neovim/lua/plugins/trouble.lua @@ -0,0 +1,13 @@ +return { + "folke/trouble.nvim", + dependencies = { "nvim-tree/nvim-web-devicons" }, + cmd = { "TroubleToggle", "Trouble" }, + keys = { + { 'xx', 'TroubleToggle' }, + { 'xw', 'TroubleToggle workspace_diagnostics' }, + { 'xd', 'TroubleToggle document_diagnostics' }, + { 'xq', 'TroubleToggle quickfix' }, + { 'xl', 'TroubleToggle loclist' }, + { 'gR', 'TroubleToggle lsp_references' }, + } +}