vim:setts: Don't wrap termdebug settings in aucmd
This commit is contained in:
@@ -118,15 +118,10 @@ if (exists('g:loaded_gitgutter'))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Netrw
|
" Netrw
|
||||||
|
|
||||||
" Use tree style listing
|
" Use tree style listing
|
||||||
let g:netrw_liststyle=3
|
let g:netrw_liststyle=3
|
||||||
|
|
||||||
|
|
||||||
" TermDebug
|
" TermDebug
|
||||||
|
|
||||||
" Have source view to the side of the splits of debugger and program
|
" Have source view to the side of the splits of debugger and program
|
||||||
augroup termdebug_settings
|
let g:termdebug_wide = 1
|
||||||
au!
|
|
||||||
autocmd SourcePost termdebug.vim let g:termdebug_wide = 1
|
|
||||||
augroup end
|
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ augroup END
|
|||||||
" Custom bindings when debugging
|
" Custom bindings when debugging
|
||||||
augroup termdebug_bindings
|
augroup termdebug_bindings
|
||||||
au!
|
au!
|
||||||
|
" Go to normal mode with <Esc> like usually
|
||||||
autocmd SourcePost termdebug.vim tnoremap <Esc> <C-\><C-n>
|
autocmd SourcePost termdebug.vim tnoremap <Esc> <C-\><C-n>
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user