ביום חמישי, 18 בספטמבר 2003, 16:36, נכתב על ידי Lior Kesos:
> guy keren wrote:
> >On Thu, 18 Sep 2003, Erez Doron wrote:
> >>i am using a version control software
> >>i want vi to automatically checkout a file whenver i try to edit it
> >>while it is read-only.
> >
> >this is not a good idea, since
On Thursday, Sep 18, 2003, at 18:52 Asia/Jerusalem, Erez Doron wrote:
what i still need is that if the file is read-only, whenver i press
'i' for insert or 'o' or I or a or A etc ... that it will do what f9
does,
( and also get rid of the 'y' i have to answer)
OK, what you need is (a) to define
ge-
From: Erez Doron [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 5:13 PM
To: [EMAIL PROTECTED]
Cc: Ilug
Subject: Re: vi question
i have a script that does checkout, but i have to do:
1. write the file -> i get a warning it is r/o
2. force write ( :w! ) -> still can't wr
ptember 18, 2003 5:13 PM
> To: [EMAIL PROTECTED]
> Cc: Ilug
> Subject: Re: vi question
>
>
> i have a script that does checkout, but i have to do:
> 1. write the file -> i get a warning it is r/o
> 2. force write ( :w! ) -> still can't write
> 3. run checkout s
guy keren wrote:
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view it.
this includes
* - * - * - * - * - * - *
WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erez Doron
Sent: Thursday, September 18, 2003 1:15 PM
To: Ilug
Subject: vi question
hi
i am using a
guy keren wrote:
On Thu, 18 Sep 2003, Erez Doron wrote:
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view it
On Thu, 18 Sep 2003, Erez Doron wrote:
> i am using a version control software
> i want vi to automatically checkout a file whenver i try to edit it
> while it is read-only.
this is not a good idea, since a lot of times, you open a file with vi ust
to view it.
> this includes running a command
Quoting Tzahi Fadida <[EMAIL PROTECTED]>:
> what about a script?
> here is a script i wrote in 5 min. you are missing the "if" to check if the
> file
> is read only, i don't know what program can test that, but i am sure others
> know(p.s i used bash):
bash itself can test that:
if [ ! -w filena
ber 18, 2003 1:15 PM
> To: Ilug
> Subject: vi question
>
>
> hi
>
> i am using a version control software
> i want vi to automatically checkout a file whenver i try to edit it
> while it is read-only.
> this includes running a command line, then reloading the file (beca
hi
i am using a version control software
i want vi to automatically checkout a file whenver i try to edit it
while it is read-only.
this includes running a command line, then reloading the file (because
the date changes when i checkout the file), then let me edit it.
i want all to be automatica
11 matches
Mail list logo