mvim <directory name>

mvim /tmp

For instance.

If you want to do this automatically, you can create a bash alias:

alias dirvim='mvim `pwd`'



On Wed, Dec 2, 2009 at 8:10 AM, Rick R <[email protected]> wrote:

> I know this has been asked before but the answers in the email search
> results seem to be all over the place so pardon for asking what I know has
> come up before...
>
> I often want to open up a project in mvim while navigating in terminal to
> the project dir and then opening up mvim (and then NERDTree) , similar to
> how I can do in textMate by just typing mate within a dir. Right now mvim
> always opens to my home dir. Is there an option I can use to configure it to
> open up to the current directory that I'm located in within my terminal?
>
>
> --
> Rick R
>
> --
> You received this message from the "vim_mac" maillist.
> For more information, visit http://www.vim.org/maillist.php

-- 
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to