On Wed, Apr 30, 2008 at 10:39:45PM -0700, Sean G. McLaughlin wrote:
> On Wednesday 30 April 2008 06:18:27 pm Alex Samad wrote:
> > but I can't change windows with . My first thought
> You can also use gt and gT.
>
> > and I am not sure what syntax to use for control-page up is it
> >
> (and i_
On Wednesday 30 April 2008 06:18:27 pm Alex Samad wrote:
> but I can't change windows with . My first thought
You can also use gt and gT.
> and I am not sure what syntax to use for control-page up is it
>
(and i_ or i_CTRL-).
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of
On Thu, May 01, 2008 at 11:18:27AM +1000, Alex Samad wrote:
> Hi
>
> I have just started using tab windows in gvim, thought I would try it
> out in vim.
>
> but I can't change windows with . My first thought was
> to use map to map c-pgup to tabn and c-pgdn to tabp. The next thought
> was to f
Hi
I have just started using tab windows in gvim, thought I would try it
out in vim.
but I can't change windows with . My first thought was
to use map to map c-pgup to tabn and c-pgdn to tabp. The next thought
was to find out the differences in the setup of gvim and vim why it
worked in one an
On Sat, Oct 22, 2005 at 08:11:18PM -0500, Eric P wrote:
> Paolo Pantaleo wrote:
> > I just started learning python (i think it is great). Now i have the
> > following problem:
> > How can i comment 10 lines of code in a shot? That is, how can i add a
> > # at the begenning of a range of lines?
> >
Substitute every beginning of a line with //:
:% substitute ?^?//?g
Thanks to the vim manual hanging off the main vim page. Please do
purchase a hard copy - the profits go towards feeding Ugandan orphans.
Regards, Max
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsu
No idea about vim. Sorry. Would be nice to know though! Isn't emacs
meant to be the infinitely programmable editor? Wd be nice to know how to
program it in any editor.
If you wanted to instead replace
line 1
line 2
line 3
with
/*
line 1
line 2
line 3
*/
Commenting out C - traditi
>> > If you wanted to instead replace
>>
>>>line 1
>>>line 2
>>>line 3
>>>
>>>with
>>>
>>>/*
>>>line 1
>>>line 2
>>>line 3
>>>*/
>>>
>>>I'm not sure how you'd do it. Perhaps others do.
>>>
>>
>>Actually, I would like to know how to do this in VIM.
>>
>>Any takers?
>>
>>Eric
>
>
> I have scripts c
On Sat, Oct 22, 2005 at 08:16:52PM -0500, Eric P wrote:
> > If you wanted to instead replace
> >
> > line 1
> > line 2
> > line 3
> >
> > with
> >
> > /*
> > line 1
> > line 2
> > line 3
> > */
> >
> > I'm not sure how you'd do it. Perhaps others do.
> >
>
> Actually, I would like to know ho
On 23/10/05, Paolo Pantaleo <[EMAIL PROTECTED]> wrote:
> I just started learning python (i think it is great). Now i have the
> following problem:
> How can i comment 10 lines of code in a shot? That is, how can i add a
> # at the begenning of a range of lines?
In command mode (hit 'escape' twice
On 10/22/05, Paolo Pantaleo <[EMAIL PROTECTED]> wrote:
> I just started learning python (i think it is great). Now i have the
> following problem:
> How can i comment 10 lines of code in a shot? That is, how can i add a
> # at the begenning of a range of lines?
In command mode, I'd go to the *last
On Sunday 23 October 2005 02.50, Paolo Pantaleo wrote:
> I just started learning python (i think it is great). Now i have the
> following problem:
> How can i comment 10 lines of code in a shot? That is, how can i add a
> # at the begenning of a range of lines?
I usually use a macro for this, but
> If you wanted to instead replace
>
> line 1
> line 2
> line 3
>
> with
>
> /*
> line 1
> line 2
> line 3
> */
>
> I'm not sure how you'd do it. Perhaps others do.
>
Actually, I would like to know how to do this in VIM.
Any takers?
Eric
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
wi
Paolo Pantaleo wrote:
> I just started learning python (i think it is great). Now i have the
> following problem:
> How can i comment 10 lines of code in a shot? That is, how can i add a
> # at the begenning of a range of lines?
>
> just to be more clear, i want to rasform
>
> a=['a','b','c']
> f
Paolo Pantaleo wrote:
I just started learning python (i think it is great). Now i have the
following problem:
How can i comment 10 lines of code in a shot? That is, how can i add a
# at the begenning of a range of lines?
just to be more clear, i want to rasform
a=['a','b','c']
for i in a:
d
On Sun, Oct 23, 2005 at 02:50:48AM +0200, Paolo Pantaleo wrote:
> How can i comment 10 lines of code in a shot? That is, how can i add a
1) Go to the first line of the code that you want to
comment.
2) Press to get into command mode rather than insert
mode.
3) Press 'v' to begin Visual Sele
I just started learning python (i think it is great). Now i have the
following problem:
How can i comment 10 lines of code in a shot? That is, how can i add a
# at the begenning of a range of lines?
just to be more clear, i want to rasform
a=['a','b','c']
for i in a:
do_something(i)
print
On Tuesday, 10.05.2005 at 08:29 +0100, Anthony Campbell wrote:
> Why not make (i)mappings for insert mode to do what you want, using
> Alt plus the other keys? E.g.
Mapping your own chosen combo is a good idea too. I use a double
semi-colon as a replacement for Esc:
imap ;;
Dave.
--
Please d
On 09 May 2005, Ritesh Raj Sarraf wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Deboo Geek wrote:
>
> > On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Deboo Geek wrote:
> >>
> >> > A small Vi question: How
On 5/9/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Deboo Geek wrote:
>
> > On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Deboo Geek wrote:
> >>
> >> > A small Vi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Deboo Geek wrote:
> On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Deboo Geek wrote:
>>
>> > A small Vi question: How to move ahead/forward a line when in insert
>> > mode. I always
Once upon a time Deboo Geek said...
> On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> >
> > Hit Escape, return to Normal mode and then use your H,J,K,L keys to move.
>
> I wish there was a way or some shortcut instead of extending the left
> hand and hitting Escape. Thanks anyway.
You c
Incoming from Deboo Geek:
> On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> > Deboo Geek wrote:
> > >
> > > A small Vi question: How to move ahead/forward a line when in insert
> > > mode. I always have to use the arrow keys to move forward, when in
> >
> > You can't do that in insert m
On 5/8/05, Deepak, R. (Masatran, R.) <[EMAIL PROTECTED]> wrote:
> * Deboo Geek <[EMAIL PROTECTED]> 2005-05-08
> > A small Vi question: How to move ahead/forward a line when in insert
> > mode. I always have to use the arrow keys to move forward, when in
> > insert mode. Is there any way to move ahe
* Deboo Geek <[EMAIL PROTECTED]> 2005-05-08
> A small Vi question: How to move ahead/forward a line when in insert
> mode. I always have to use the arrow keys to move forward, when in
> insert mode. Is there any way to move ahead without shifting my right
> hand from the alphabets to the arrow keys
On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Deboo Geek wrote:
>
> > A small Vi question: How to move ahead/forward a line when in insert
> > mode. I always have to use the arrow keys to move forward, when in
> > insert mode. Is the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Deboo Geek wrote:
> A small Vi question: How to move ahead/forward a line when in insert
> mode. I always have to use the arrow keys to move forward, when in
> insert mode. Is there any way to move ahead without shifting my right
> hand from the alpha
A small Vi question: How to move ahead/forward a line when in insert
mode. I always have to use the arrow keys to move forward, when in
insert mode. Is there any way to move ahead without shifting my right
hand from the alphabets to the arrow keys?
Deboo
--
Please don't Cc: me, I'm subscribed to
On Sun, 2002-04-14 at 07:57, Eric G. Miller wrote:
> On Sun, Apr 14, 2002 at 07:41:43AM +0100, Patrick Kirk wrote:
> > Hi all,
> >
> > What is the command to save a file under another name? For example,
> > if I have editted a Makefile and do not have write access, how can I
> > save it as ~/pkMa
On Sun, Apr 14, 2002 at 07:41:43AM +0100, Patrick Kirk wrote:
> Hi all,
>
> What is the command to save a file under another name? For example,
> if I have editted a Makefile and do not have write access, how can I
> save it as ~/pkMakefile
:w ~/pkMakefile
Note, after the file is written, Vim d
Hi all,
What is the command to save a file under another name? For example,
if I have editted a Makefile and do not have write access, how can I
save it as ~/pkMakefile
Thanks in advance,
Patrick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
Hi,
talking about the C programming style, are we supposed to use
tabstoplength=8 or softtabstop=2?
I have always been using tabstoplength=8, but all the program src
I got(mutt for example) all use the softtabstop=2.
Anyway, I am quite happy with softtabsto
Please, unsubscribe me from this list.
Thanks
> -Mensaje original-
> De: debian-user@lists.debian.org [SMTP:[EMAIL PROTECTED]
> Enviado el: 13/07/1999 8:09 AM
> Para: [EMAIL PROTECTED]
> CC: recipient list not shown
> Asunto: Re: vim question
>
> &
> > insert a single(or two) tab at the beginning of the next 10 lines.
>
> single: 10>>
Wait! Wait! You can do it in fewer keystrokes:
9>j
:-D
Sorry about that original post with the unoptimized vi commands. How
un-vi-like of me!
> insert a single(or two) tab at the beginning of the next 10 lines.
single: 10>>
or two: 10>>.
I consider the > and < commands to be two of vi's biggest advantages
over emacs. I love those commands.
On Mon, 12 Jul 1999, Shao Zhang wrote:
--Hi,
-- Is there any easy way to:
--
-- insert a single(or two) tab at the beginning of the next 10 lines.
--
-- ??
--
-- Thanks.
--
--Shao.
:.,.+10s/^/^I/g
where: your cursor is on the line you want to start from
^I is the tab k
Hi,
Is there any easy way to:
insert a single(or two) tab at the beginning of the next 10 lines.
??
Thanks.
Shao.
--
Shao Zhang - Running Debian 2.1 ___ _ _
Departme
37 matches
Mail list logo