Fix title on Linux

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

4
vimrc
View file

@ -17,6 +17,7 @@ let g:netrw_dirhistmax = 0
set clipboard^=unnamed set clipboard^=unnamed
" Terminal title " Terminal title
if has('macunix')
set title set title
set t_ts=]6; set t_ts=]6;
set t_fs= set t_fs=
@ -24,6 +25,9 @@ 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 endif
else
set title
endif
" Airline " Airline
let g:airline_theme='raven' let g:airline_theme='raven'