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

Thank you. I knew about that one, but was afraid Vim wouldn't pick up the
permission change. Obviously I was wrong.

Thank You

Danny

> 
> -- 
> with kind regards
> Thor Andreassen
> 

Reply via email to