substitute ~ for home directory in file paths

This commit is contained in:
ManjaroOne666 2018-04-17 18:59:30 +01:00
parent 30bcbfc7e6
commit 4a2e7c49a0
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ function! GetStatus(isactive) "{{{
let l:statusline .= '%#InterfaceSignWarning# %R ' let l:statusline .= '%#InterfaceSignWarning# %R '
else else
let l:statusline.='%#StatusLineDir# ' let l:statusline.='%#StatusLineDir# '
let l:statusline.="%{expand('%:p:h')}/" let l:statusline.="%{fnamemodify(expand('%:p:h'),':~')}/"
let l:statusline.='%#StatusLineFile#' let l:statusline.='%#StatusLineFile#'
let l:statusline.="%{expand('%:t:r')}" let l:statusline.="%{expand('%:t:r')}"