Fix foot not autoreloading in vim

This commit is contained in:
2026-07-29 20:27:55 -05:00
parent 26bc43a288
commit 04ad1cd4b3
+5
View File
@@ -10,6 +10,11 @@ if $TERM != 'linux' && version >= 800
set background=dark set background=dark
endif endif
if &term ==# 'foot'
let &t_fe = "\<Esc>[?1004h"
let &t_fd = "\<Esc>[?1004l"
endif
set autoread " Automatically read when a file is changed outside of Vim set autoread " Automatically read when a file is changed outside of Vim
set clipboard=unnamedplus " Use XA_PRIMARY clipboard by default set clipboard=unnamedplus " Use XA_PRIMARY clipboard by default
set encoding=utf-8 set encoding=utf-8