nmap <buffer> gH :YcmCompleter GetDoc<CR>
setlocal errorformat=
+" TODO I don't remember these errorformat or what they match, maybe CMake? {{{
+setlocal errorformat+=\ %##%n\ %m\ %f:%l:%c
+setlocal errorformat+=\ %##%n\ %m\ %f
+setlocal errorformat+=%n
+"}}}
setlocal errorformat+=%f:%l:%c:\ %trror:\ %m
setlocal errorformat+=%f:%l:%c:\ %tarning:\ %m
setlocal errorformat+=%D%*\\a[%*\\d]:\ Entering\ directory\ [`']%f'
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>