feat: adding snacks over telescope

This commit is contained in:
Carlos Gutierrez
2025-08-03 21:09:30 -04:00
parent 6738adc58b
commit 9e529ef0bb
7 changed files with 153 additions and 47 deletions

View File

@@ -28,8 +28,8 @@ if ok_dap and ok_dapui then
end, 200)
end, { desc = "🧼 Reset DAP UI Layout" })
-- 🔭 Telescope Integration
keymap("n", "<leader>dcf", "<cmd>Telescope dap configurations<cr>", { desc = "🔭 DAP Configs" })
keymap("n", "<leader>dcb", "<cmd>Telescope dap list_breakpoints<cr>", { desc = "🧷 List Breakpoints" })
keymap("n", "<leader>dco", "<cmd>Telescope dap commands<cr>", { desc = "⚙️ DAP Commands" })
-- 🔭 Snacks Integration (replacing Telescope)
keymap("n", "<leader>dcf", "<cmd>lua require('snacks.picker').dap_configurations()<cr>", { desc = "🔭 DAP Configs" })
keymap("n", "<leader>dcb", "<cmd>lua require('snacks.picker').dap_list_breakpoints()<cr>", { desc = "🧷 List Breakpoints" })
keymap("n", "<leader>dco", "<cmd>lua require('snacks.picker').dap_commands()<cr>", { desc = "⚙️ DAP Commands" })
end