On Sat, Jun 03, 2006 at 12:52:26PM +0200, Danny wrote:
> When I create a new file with Vim, how can I change the permissions to
> executable automatically.
> 
> At the moment I have to create the file, exit vim, and then chmod 744.

One option is to run the command from within vim, like so

:!chmod u+x %

the % expands to the name of the current file.

-- 
with kind regards
Thor Andreassen

Reply via email to