From 04ad1cd4b3f29836c31081443ba350478a171f35 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Wed, 29 Jul 2026 20:27:55 -0500 Subject: [PATCH] Fix foot not autoreloading in vim --- base/.vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base/.vimrc b/base/.vimrc index 3318fc81..9f6f2ad7 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -10,6 +10,11 @@ if $TERM != 'linux' && version >= 800 set background=dark endif +if &term ==# 'foot' + let &t_fe = "\[?1004h" + let &t_fd = "\[?1004l" +endif + set autoread " Automatically read when a file is changed outside of Vim set clipboard=unnamedplus " Use XA_PRIMARY clipboard by default set encoding=utf-8