> Maybe you just need to change the pwd?
>
> Inside Vim:
> 1. See what the pwd is by typing ":pwd"
> 2. If it is not what you wanted it to be, type ":cd path/to/dir"
>
> Björn
Same problem.
:pwd gives the right path.
I use this since I couldn't find where to remap Cmd-B:
if filereadable("Makefile")
set makeprg = make\ -j
map <C-b> :cd %:p:h<cr>:make<CR>:cw<CR>
else
map <C-b> :make %:r<CR>:cw<CR>
endif
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---