From c4f83e96b2665f3a8426143f269f92e13dab78e4 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 8 Nov 2022 08:08:17 +0200 Subject: [vimrc] Added CodeTerminal term mappings --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index a15411c..11819d4 100644 --- a/.vimrc +++ b/.vimrc @@ -246,6 +246,9 @@ noremap :call CodeTerminal(g:codebuildsingle) noremap :call CodeTerminal(g:codebuildproject) + " We assume that the last accessed window is the one with the source code, otherwise it gets complicated + tnoremap :call CodeTerminal(g:codebuildsingle) + tnoremap :call CodeTerminal(g:codebuildproject) let t:codetermbufnr = -1 -- cgit v1.2.3