From e3f896ab609798d580b69d52d487788e467b981d Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Sat, 21 Oct 2023 17:17:46 +0200 Subject: [PATCH] Add keymap to toggle the ui --- lua/valeth/plugins/dap/ui.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/valeth/plugins/dap/ui.lua b/lua/valeth/plugins/dap/ui.lua index 85b5d48..ce4d1ce 100644 --- a/lua/valeth/plugins/dap/ui.lua +++ b/lua/valeth/plugins/dap/ui.lua @@ -12,6 +12,9 @@ spec.keys = { { "dbr", "DapToggleBreakpoint" }, { "dso", "DapStepOver" }, { "dq", "DapTerminate" }, + { "dt", function() + require("dapui").toggle() + end} } spec.config = function()