substitute ~ for home directory in file paths
This commit is contained in:
parent
30bcbfc7e6
commit
4a2e7c49a0
|
@ -142,7 +142,7 @@ function! GetStatus(isactive) "{{{
|
|||
let l:statusline .= '%#InterfaceSignWarning# %R '
|
||||
else
|
||||
let l:statusline.='%#StatusLineDir# '
|
||||
let l:statusline.="%{expand('%:p:h')}/"
|
||||
let l:statusline.="%{fnamemodify(expand('%:p:h'),':~')}/"
|
||||
let l:statusline.='%#StatusLineFile#'
|
||||
|
||||
let l:statusline.="%{expand('%:t:r')}"
|
||||
|
|
Loading…
Reference in New Issue