From 66174911fcac1a16740f04951ee0d049357ee72e Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 8 May 2023 21:02:36 +0200 Subject: Changed some of dap keybindings --- lua/user/keys.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/user/keys.lua b/lua/user/keys.lua index 7acea19..7bc0061 100644 --- a/lua/user/keys.lua +++ b/lua/user/keys.lua @@ -367,7 +367,8 @@ end) map("n", "dc", dap.continue) map("n", "dC", dap.close) --map("n", "dt", dap.terminate) -map("n", "dd", function() dap.disconnect({ terminateDebuggee = true }) end) +map("n", "dt", ui.toggle) +--map("n", "dd", function() dap.disconnect({ terminateDebuggee = true }) end) map("n", "dn", dap.step_over) map("n", "di", dap.step_into) map("n", "do", dap.step_out) @@ -379,7 +380,7 @@ end) map("n", "dl", require("dap.ui.widgets").hover) map("n", "de", function() require("dapui").float_element() end, { desc = "Open Element" }) -map("n", "dt", function() +map("n", "dd", function() require("dapui").close() require("dap").repl.close() local session = require("dap").session() -- cgit v1.2.3