Fix foot not autoreloading in vim
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user