]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/cpp.vim
qutebrowser: also cycle through accept all cookies
[dotfiles.git] / vim / ftplugin / cpp.vim
index c053fcc605f17a0185bdf1e263865427986926a3..76b5a55c50b9896a35ade994166c80bcc52b1596 100644 (file)
@@ -69,6 +69,11 @@ nmap <buffer> gh <plug>(YCMHover)
 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'
@@ -91,10 +96,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>