Fix title on Linux

This commit is contained in:
Loic Nageleisen 2021-03-02 11:58:40 +01:00
parent 5820e54c8d
commit 502707a378

12
vimrc
View file

@ -17,12 +17,16 @@ let g:netrw_dirhistmax = 0
set clipboard^=unnamed set clipboard^=unnamed
" Terminal title " Terminal title
set title if has('macunix')
set t_ts=]6; set title
set t_fs= set t_ts=]6;
if !exists("autocmd_terminal_title") set t_fs=
if !exists("autocmd_terminal_title")
let autocmd_terminal_title = 1 let autocmd_terminal_title = 1
autocmd BufEnter,BufRead * let &titlestring = "file://" . hostname() . expand("%:p") autocmd BufEnter,BufRead * let &titlestring = "file://" . hostname() . expand("%:p")
endif
else
set title
endif endif
" Airline " Airline