adam99 wrote: > I tried bang(!) but it runs in the place that I started the gvim, not in the > directory of the file... > > adam99 wrote: > >> I am working with several files at the same time. I would like to compile >> files in the directory of the file I make a change. >> >> Is there way to run a shell command in the directory of the file? >> Several solutions:
* give a full path * :set acd * :cd fullpath * using netrw: c * using netrw: always having the displayed directory as the current directory (assuming its local), put g:netrw_keepdir= 0 Regards, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
