mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update titlestring style
This commit is contained in:
parent
3e5aaa7972
commit
1c6833c774
@ -112,8 +112,10 @@ set autowrite
|
|||||||
" lastmod time is drawn from https://stackoverflow.com/q/8426736/6064933
|
" lastmod time is drawn from https://stackoverflow.com/q/8426736/6064933
|
||||||
set title
|
set title
|
||||||
set titlestring=
|
set titlestring=
|
||||||
|
if g:is_linux
|
||||||
set titlestring+=%(%{hostname()}\ \ %)
|
set titlestring+=%(%{hostname()}\ \ %)
|
||||||
set titlestring+=%(%{expand('%:p')}\ \ %)
|
endif
|
||||||
|
set titlestring+=%(%{expand('%:p:~')}\ \ %)
|
||||||
set titlestring+=%{strftime('%Y-%m-%d\ %H:%M',getftime(expand('%')))}
|
set titlestring+=%{strftime('%Y-%m-%d\ %H:%M',getftime(expand('%')))}
|
||||||
|
|
||||||
" Persistent undo even after you close a file and re-open it
|
" Persistent undo even after you close a file and re-open it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user