From 7b1dcff3ce7fba06c9dc3251fa0fe7292284760a Mon Sep 17 00:00:00 2001 From: Fabio Montefuscolo Date: Thu, 4 Apr 2024 20:38:47 +0200 Subject: [PATCH] feat: toggle dap ui shortcut --- mappings.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mappings.lua b/mappings.lua index 4e7586e..ae658d7 100644 --- a/mappings.lua +++ b/mappings.lua @@ -33,7 +33,13 @@ M.dap = { M.dap_python = { plugin = true, n = { - ["dpr"] = { + ["dpu"] = { + function () + local dapui = require("dapui") + dapui.toggle() + end + }, + ["dpa"] = { function() local dap = require('dap') dap.run({