mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Fix title on Linux
This commit is contained in:
parent
5820e54c8d
commit
502707a378
1 changed files with 10 additions and 6 deletions
12
vimrc
12
vimrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue