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
16
vimrc
16
vimrc
|
|
@ -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")
|
||||
let autocmd_terminal_title = 1
|
||||
autocmd BufEnter,BufRead * let &titlestring = "file://" . hostname() . expand("%:p")
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue