Skip to content

Commit b3637db

Browse files
committedMay 29, 2022
remove all keybingds of nvim-gdb
1 parent 9ba6661 commit b3637db

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed
 

‎nvim/lua/user/conf/nvimgdb.lua

+7-11
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
vim.cmd([[
1515
let g:nvimgdb_disable_start_keymaps = 1
1616
let g:nvimgdb_use_find_executables = 0
17-
let g:nvimgdb_use_cmake_to_find_executables = 0
17+
let g:nvimgdb_use_cmake_to_find_executables = 1
1818
let w:nvimgdb_termwin_command = "rightbelow vnew"
1919
let w:nvimgdb_codewin_command = "vnew"
2020
let g:nvimgdb_config_override = {
21-
\ 'key_next': ';n',
22-
\ 'key_step': ';s',
23-
\ 'key_finish': ';f',
24-
\ 'key_continue': ';c',
25-
\ 'key_until': ';u',
26-
\ 'key_breakpoint': ';b',
21+
\ 'key_next': v:null,
22+
\ 'key_step': v:null,
23+
\ 'key_finish': v:null,
24+
\ 'key_continue': v:null,
25+
\ 'key_until': v:null,
26+
\ 'key_breakpoint': v:null,
2727
\ }
2828
]])
2929

@@ -60,10 +60,6 @@ _G.CreateWatch = function()
6060
vim.api.nvim_command(":GdbCreateWatch " .. watch_arg)
6161
end
6262

63-
_G.SaveBreakpoints = function()
64-
vim.api.nvim_command(":Gdb save breakpoints .bps.txt")
65-
end
66-
6763
_G.CloseWatchBuffers = function()
6864
vim.defer_fn(function()
6965
vim.api.nvim_command(":bd! thread info")

0 commit comments

Comments
 (0)
Please sign in to comment.