Added debugger into neovim

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-05-19 00:22:23 +02:00
parent 11ea8a62e9
commit 8ea6d36e98
2 changed files with 15 additions and 0 deletions

View File

@ -206,6 +206,9 @@ cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
map <F3> :setlocal spell! spelllang=en_gb<CR>
map <F4> :setlocal spell! spelllang=pl<CR>
" debugger
map <F12> :w<CR>:terminal ~/.local/bin/debugger '%:p'<CR>
" latex
let g:tex_flavor = "latex"
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!