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
" Terminal title
set title
set t_ts=]6;
set t_fs=
if !exists("autocmd_terminal_title")
if has('macunix')
set title
set t_ts=]6;
set t_fs=
if !exists("autocmd_terminal_title")
let autocmd_terminal_title = 1
autocmd BufEnter,BufRead * let &titlestring = "file://" . hostname() . expand("%:p")
endif
else
set title
endif
" Airline