From 26a0660f278d78e049364e69f4ebaa39e8cf1116 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 9 May 2024 15:14:34 -0400 Subject: trouble --- lua/cshift/remaps.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua/cshift/remaps.lua') diff --git a/lua/cshift/remaps.lua b/lua/cshift/remaps.lua index bfc25b2..16dec81 100644 --- a/lua/cshift/remaps.lua +++ b/lua/cshift/remaps.lua @@ -9,6 +9,14 @@ vim.keymap.set('n', 'sf', function() require("telescope.builtin").find_files() end) +vim.keymap.set('n', 'tt', function() + require("trouble").open("workspace_diagnostics") +end) + +vim.keymap.set('n', 'tq', function() + require("trouble").close() +end) + -- (P)lugins -- cgit v1.2.3