-if exists("g:loaded_mein_whereami") | finish | endif
-let g:loaded_mein_whereami = 1
+if exists('*<SID>pwdLoad') | finish | endif
function! s:pwdLoad()
let g:mein_pwdL=trim(system("pwd -L"))
autocmd VimEnter * call s:pwdLoad()
-function! WhereAmI(fmt)
+function! s:WhereAmI(fmt)
let fullpath = expand("%:p")
if fullpath[:len(g:mein_pwdP)-1] ==# g:mein_pwdP
let fullpath = g:mein_pwdL . fullpath[len(g:mein_pwdP):]
echomsg where
endfunction
-nmap <leader>w :call WhereAmI("gnu")<CR>
-nmap <leader>W :call WhereAmI("lldb")<CR>
+nmap <leader>w :call <SID>WhereAmI("gnu")<CR>
+nmap <leader>W :call <SID>WhereAmI("lldb")<CR>