]> git.rmz.io Git - dotfiles.git/commitdiff
vim/cpp: remove duplicate Debug bindings
authorSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:07:39 +0000 (14:07 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:07:39 +0000 (14:07 +0100)
vim/ftplugin/cpp.vim

index c053fcc605f17a0185bdf1e263865427986926a3..9834dcfa53940eed80ab6e00cb5b65a056770d7b 100644 (file)
@@ -91,10 +91,6 @@ function! s:Debug(...)
     nnoremap <buffer> <C-S> :Step<CR>
     nnoremap <buffer> <C-N> :Over<CR>
     nnoremap <buffer> <C-F> :Finish<CR>
-    nnoremap <buffer> <C-T> :call TermDebugSendCommand('advance -source '.expand('%').' -line '.line("."))<CR>
-    nnoremap <buffer> <C-S> :Step<CR>
-    nnoremap <buffer> <C-N> :Over<CR>
-    nnoremap <buffer> <C-F> :Finish<CR>
 endfunction
 command! -nargs=* -complete=file -bang Debug call <SID>Debug() | Termdebug<bang> <args>
 command! -nargs=+ -complete=file -bang DebugCommand call <SID>Debug() | TermdebugCommand<bang> <args>