diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index f3986e4f2..fde66d777 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -130,8 +130,8 @@ with import ./lib;
 
     nnoremap <f1> :tabp<cr>
     nnoremap <f2> :tabn<cr>
-    inoremap <f1> <esc>:tabp<cr>
-    inoremap <f2> <esc>:tabn<cr>
+    imap <f1> <esc><f1>
+    imap <f2> <esc><f2>
 
     noremap <f3> :ShowSyntax<cr>