summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2022-11-11 14:41:57 +0200
committerSyndamia <kamen@syndamia.com>2022-11-11 14:41:57 +0200
commit7b431a2b9f4127bedd39eccf748482d54d6a008b (patch)
tree3b9114a3d42502f2f39c68cb8fb9ab3e2926af71
parent3e15768edfd8f68d0018445fd79b6d94d68c90ac (diff)
downloaddotfiles-7b431a2b9f4127bedd39eccf748482d54d6a008b.tar
dotfiles-7b431a2b9f4127bedd39eccf748482d54d6a008b.tar.gz
dotfiles-7b431a2b9f4127bedd39eccf748482d54d6a008b.zip
[vimrc] Added CodeTerminal insert mode mappings
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 8f2128b..21c677c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -246,6 +246,8 @@
noremap <F3> :call CodeTerminal(g:codebuildsingle)<CR>
noremap <F4> :call CodeTerminal(g:codebuildproject)<CR>
+ inoremap <F3> <C-O>:call CodeTerminal(g:codebuildsingle)<CR>
+ inoremap <F4> <C-O>:call CodeTerminal(g:codebuildproject)<CR>
" We assume that the last accessed window is the one with the source code, otherwise it gets complicated
tnoremap <F3> <C-W><C-P>:call CodeTerminal(g:codebuildsingle)<CR><C-W><C-P>
tnoremap <F4> <C-W><C-P>:call CodeTerminal(g:codebuildproject)<CR><C-W><C-P>