From: Sergey Matveev Date: Tue, 8 Sep 2020 15:40:42 +0000 (+0300) Subject: No more /usr/home X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=2f9106df35071e80b0e7c20419b7eee185907e42 No more /usr/home --- diff --git a/vim/.vim/plugin/whereami.vim b/vim/.vim/plugin/whereami.vim index 29c34f9..95126c1 100644 --- a/vim/.vim/plugin/whereami.vim +++ b/vim/.vim/plugin/whereami.vim @@ -1,5 +1,5 @@ function! WhereAmI(fmt) - let fullpath = substitute(expand("%:p"), "/usr/home/", "/home/", "") + let fullpath = expand("%:p") if a:fmt == "gnu" let where = fullpath . ":" . line(".") elseif a:fmt == "lldb"