]> Sergey Matveev's repositories - dotfiles.git/commitdiff
No more /usr/home
authorSergey Matveev <stargrave@stargrave.org>
Tue, 8 Sep 2020 15:40:42 +0000 (18:40 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 8 Sep 2020 15:40:42 +0000 (18:40 +0300)
vim/.vim/plugin/whereami.vim

index 29c34f99f646f43b41f65923a719ffd85cdd4fb7..95126c1ced6b7b3d7ce5ed47ae1501d1e0860876 100644 (file)
@@ -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"