Friday, July 30, 2010

Re: Enter a directory automatically when opening files with gvim , possible ?

On Jul 30, 9:49 pm, Aaron Lewis <aaron.lewis1...@gmail.com> wrote:
>         I'm on KDE session , when single-clicking on files , it would execute
> gVim and open the file , but the problem is , gVIM doesn't change it's
> CWD by default.
>
>         e.g on clicking on /Library/code/my.cpp , and !pwd command returns
> /home/my_USERNAME , and i want it to be /Library/code
>

It sounds like you want the 'autochdir' option.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment