1 if exists("g:loaded_mein_whereami") | finish | endif
2 let g:loaded_mein_whereami = 1
4 function! WhereAmI(fmt)
5 let fullpath = expand("%:p")
7 let where = fullpath . ":" . line(".")
9 let where = "breakpoint set --file " . fullpath . " --line " . line(".")
11 let where = "unknown fmt"
17 nmap <leader>w :call WhereAmI("gnu")<CR>
18 nmap <leader>W :call WhereAmI("lldb")<CR>