This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: editing crontab using gvim
- From: Shai <shaibn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 27 Jan 2009 07:34:02 +0200
- Subject: Re: editing crontab using gvim
- References: <e3edb0fa0801282320l3a75ca19l70a62dddaf8bfd5b@mail.gmail.com> <87odb45sh5.fsf@nav-akl-pcn-343.mitacad.com>
On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp <Toby.Allsopp@navman.co.nz> wrote:
>
> On Tue, Jan 29 2008, Shai wrote:
>
> > Hi,
> >
> > I have gvim installed and when I do:
> > $ crontab -e
> > gvim opens up my crontab.
> >
> > But, it opens it as readonly and saving it requires wq! but then when
> > it exits, I see:
> > $ crontab.exe -e
> > crontab: no changes made to crontab
>
> EDITOR="gvim -f"
>
> Without the -f, gvim runs in the background and crontab see it exit
> immediately without making any changes.
>
> Regards,
> Toby.
Hi Toby,
If I use your method, I get this when I try and save the file in gvim:
E45: 'readonly' option is set (add ! to override)
Shai
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/