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