From: Samir Benmendil Date: Thu, 9 Jun 2022 13:07:39 +0000 (+0100) Subject: vim/cpp: remove duplicate Debug bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/2df4e982b091f947982db84fdc8b336232252dbd?ds=sidebyside vim/cpp: remove duplicate Debug bindings --- diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index c053fcc..9834dcf 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -91,10 +91,6 @@ function! s:Debug(...) nnoremap :Step nnoremap :Over nnoremap :Finish - nnoremap :call TermDebugSendCommand('advance -source '.expand('%').' -line '.line(".")) - nnoremap :Step - nnoremap :Over - nnoremap :Finish endfunction command! -nargs=* -complete=file -bang Debug call Debug() | Termdebug command! -nargs=+ -complete=file -bang DebugCommand call Debug() | TermdebugCommand