On Tue, Jan 13, 2009 at 11:50 PM, Antony Scriven <adscri...@gmail.com> wrote:
> On Tue, Jan 13, 2009 at 3:22 PM, Per Thulin > <per.thu...@valentinewebsystems.se> wrote: > > > [...] > > > > One simple little integration thing that would fix it all > > would be if could do this: > > > > 1. From vim, run :shell > > 2. Find the files I'm after > > 3. Open these in the vim session I ran :shell from. > > > > [...] > > $>~/.x pwd > $ vim > :cd readfile(expand('~/.x'))[0] | e. Oops, I meant :exe 'cd' readfile(expand('~/.x'))[0] | e. > You don't even need to script this last one: the shell > command is easy enough to type and you can get the vim > command from your history, e.g. :cd r<up> --Antony And, similarly, :exe <up> --Antony --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---