summaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-24 17:32:38 +0000
committerDmitry Sharshakov2021-08-24 17:32:38 +0000
commit235a84d989acb609ea34b423a45850d888a4038a (patch)
tree949b6dc5c759c0eb1662622c9ae3c4985283295b /helix-term
parent299da5a35b1917812a0f37e046d946031474d606 (diff)
Remove shortcut for starting debug
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands.rs7
-rw-r--r--helix-term/src/keymap.rs1
2 files changed, 0 insertions, 8 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 0a8fb99b..9a0a5e4c 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -305,7 +305,6 @@ impl Command {
select_textobject_around, "Select around object",
select_textobject_inner, "Select inside object",
dap_toggle_breakpoint, "Toggle breakpoint",
- dap_start, "Start debug session",
dap_run, "Begin program execution",
dap_continue, "Continue program execution",
dap_pause, "Pause program execution",
@@ -4491,12 +4490,6 @@ fn dap_start_impl(editor: &mut Editor, name: Option<&str>, params: Option<Vec<&s
editor.debugger_events.push(stream);
}
-fn dap_start(cx: &mut Context) {
- // TODO: check that first config does not have templates
- // which cannot be handled with a shortcut
- dap_start_impl(&mut cx.editor, None, None);
-}
-
fn dap_toggle_breakpoint(cx: &mut Context) {
use helix_lsp::block_on;
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 776f02ca..02b5f25c 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -486,7 +486,6 @@ impl Default for Keymaps {
"a" => code_action,
"'" => last_picker,
"d" => { "Debug"
- "s" => dap_start,
"b" => dap_toggle_breakpoint,
"r" => dap_run,
"c" => dap_continue,