From b37e39ea5e05782e3f98f5b8096b8c17dd205046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 10 Nov 2024 17:03:10 +0100 Subject: [PATCH] improve term --- lua/zak/set.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/zak/set.lua b/lua/zak/set.lua index d15f925..09fd450 100644 --- a/lua/zak/set.lua +++ b/lua/zak/set.lua @@ -37,4 +37,9 @@ vim.cmd [[ autocmd! autocmd BufRead,BufNewFile *.gl set filetype=glsl augroup END + augroup TerminalStuff + autocmd BufWinEnter,WinEnter term://* startinsert + autocmd BufLeave term://* stopinsert + augroup END ]] +