From 2f9106df35071e80b0e7c20419b7eee185907e42 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 8 Sep 2020 18:40:42 +0300 Subject: [PATCH] No more /usr/home --- vim/.vim/plugin/whereami.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.44.0