Skip to content

Commit

Permalink
Add key map for dap-ui
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan <[email protected]>
  • Loading branch information
Ryan committed Jan 18, 2025
1 parent d285798 commit fda08fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -788,18 +788,19 @@ require('ufo').setup({
})
EOF

" Plug Config: dap {{{
" Plug Config: dap and dapui {{{
lua << EOF
require("dapui").setup()
local dap = require("dap")

dap.adapters.cppdbg = {
id = 'cppdbg',
type = 'executable',
command = '~/bin/debugAdapters/bin/OpenDebugAD7',
}
require('dap.ext.vscode').load_launchjs(nil, { cppdbg = {'c', 'cpp'} })

require("dapui").setup()
EOF
nnoremap <F5> :lua require("dapui").toggle()<CR>
"}}}

" Plug Config: tfm {{{
Expand Down

0 comments on commit fda08fd

Please sign in to comment.