To create the action, open Thunar and go to "Edit -> Configure custom actions...". Click on the "+" icon to create a new action.

Type in a name, and use the following command to do the magic:
vim -g -c "execute 'cd' . %f"You can now select an icon by clicking on the button next to "Icon" and searching for gVim. Next, switch to the "Appearance Conditions" tab and select only "Directories". Now your all set! To confirm if it works, issue a :pwd after gVim has started.
No comments:
Post a Comment