Friday, July 30, 2010

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
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

Many thanks !


- --
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4R0NL3WI5 on freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxTj0EACgkQvf41sEptMqDA8wCeLv4gGCQqeybtwOTaviVgzohD
jDYAoJ/arTxekT+M6W0gHZ3D5Q7l2ZmU
=+V8V
-----END PGP SIGNATURE-----

--
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