let g:termdebugger = "rust-gdb" highlight link TSVariable TSText let g:floaterm_autoclose = 1 tnoremap nnoremap m :FloatermNew --autoclose=0 --height=0.9 --width=0.9 --name=run cargo run nnoremap B :FloatermNew --autoclose=0 --height=0.9 --width=0.9 --name=run cargo build " nnoremap t :FloatermNew --autoclose=0 --height=0.9 --width=0.9 --name=test cargo test augroup AUTOSAVE autocmd! autocmd InsertLeave *.rs ++nested write augroup END