summaryrefslogtreecommitdiff
path: root/lua/cshift/remaps.lua
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-05-09 15:14:34 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-05-09 15:14:34 -0400
commit26a0660f278d78e049364e69f4ebaa39e8cf1116 (patch)
treea76883a9236a44d900f405728e172f9cfae38965 /lua/cshift/remaps.lua
parent6d4f997bb8bebf0dc629f3ffa63649cfd170011e (diff)
trouble
Diffstat (limited to 'lua/cshift/remaps.lua')
-rw-r--r--lua/cshift/remaps.lua8
1 files changed, 8 insertions, 0 deletions
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', '<leader>sf', function()
require("telescope.builtin").find_files()
end)
+vim.keymap.set('n', '<leader>tt', function()
+ require("trouble").open("workspace_diagnostics")
+end)
+
+vim.keymap.set('n', '<leader>tq', function()
+ require("trouble").close()
+end)
+
-- (P)lugins