On 2006-11-15, Chuck Mason [EMAIL PROTECTED] wrote:
In gvim you can do iDelEsc or 0iBS to join lines. So the need for
(J) is superfluous. Why is there no antithesis to J for splitting
lines?
Because In The Beginning was Vi, and Vi viewed Files as consisting
of sequences of Lines, each Line
What Gary says is historically true, but I would point out that it was
the fact that deep underneath vi was sitting on ed. Many full-screen
versions of line editors, like teco, suffered from having their wings
tied down close to the lowest assumptions and could not spread them and
soar.
I
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 14:19:22 +1000
Hi Pete !
Thank you for disassembling the hex into mnemonics! :O)
One question remains in my head:
if /.\{73,}/ find all lines, for what is the g for?
I mean...more than finding the whole
Meino Christian Cramer wrote:
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 14:19:22 +1000
Hi Pete !
Thank you for disassembling the hex into mnemonics! :O)
One question remains in my head:
if /.\{73,}/ find all lines, for what is the g for?
I mean
From: A.J.Mechelynck [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 16:54:02 +0200
Meino Christian Cramer wrote:
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 14:19:22 +1000
Hi Pete !
Thank you for disassembling the hex
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 14:19:22 +1000
snip
...
snip
Hi Pete,
...please check this with your genious vimly mind... :) -- BIG smiley!
Your initial command set was:
1,$g/.\{73,}/normal v}gq
Which does -- if I understand
Meino Christian Cramer wrote:
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Fri, 15 Sep 2006 14:19:22 +1000
snip
...
snip
Hi Pete,
...please check this with your genious vimly mind... :) -- BIG smiley!
Your initial command set was:
1,$g/.\{73,}/normal v}gq
On Fri, 2006-09-15 at 20:20:58 +0200, A.J.Mechelynck sent:
You could simply do
:%g/.{73,}/normal gqq
see help gqq
This would of course keep the hard line break (if there is one)
between ...Very Very Very and Very Very Very long line. You
can't have it both ways.
Indeed. The alternative
Ciao Peter,
The Vim Book (http://iccf-holland.org/click5.html#oualline) will get
you up to speed quickly on most of Vim's important features, and
teach you how to use some important tools you might miss otherwise.
Most complex commands can still be reduced down to one or two
keystrokes, just
Pete Johns schrieb:
For all lines longer than 72 characters, reformat the
paragraph from that line..
1,$g/.\{73,}/normal v}gq
or just
:set tw=72 if set otherwise
:g/./normal gqq
Andy
--- Andrea Spadaccini [EMAIL PROTECTED] wrote:
Well.. the vim book is for vim 5.7.. Are there any plans to make a new
version for vim 7.x?
I would buy it if only it was up-to-date! :)
Many of Vim's best features were included in 5.7. It is still a great book to
get you from a novice to
Christian Cramer [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 7:21 PM
To: Max Dyckhoff
Cc: vim@vim.org
Subject: Re: Two problems
From: Max Dyckhoff [EMAIL PROTECTED]
Subject: RE: Two problems
Date: Wed, 13 Sep 2006 20:30:15 -0700
Hi Max,
thanks a lot for your help
From: Pete Johns [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Thu, 14 Sep 2006 13:46:42 +1000
On Thu, 2006-09-14 at 04:45:12 +0200, Meino Christian Cramer sent:
2.) Currently I am reading the ascii version of the vimtips
file. One thing I would like to change physically (that means
On Fri, 2006-09-15 at 04:57:24 +0200, Meino Christian Cramer sent:
Hi Pete!
Hi!
thank you very much for this line of code -- works like a
charme!
Delighted to hear it.
The only bad thing is: I dont understand completly, how it
works
He he... I'm glad that someone's taken this apart :-)
Hi,
I have two problems:
1.) Splitting line into two from normal mode.
My current concept (hu...great word...;) to split a line into
two is (starting and ending in normal mode, which is wanted):
i Ctrl-j esc
Are there any shorter ways to split a line, may
Hello,
--- Meino Christian Cramer [EMAIL PROTECTED] wrote:
1.) Splitting line into two from normal mode.
My current concept (hu...great word...;) to split a line into
two is (starting and ending in normal mode, which is wanted):
i Ctrl-j esc
Are there
From: Peter Hodge [EMAIL PROTECTED]
Subject: Re: Two problems
Date: Thu, 14 Sep 2006 13:10:43 +1000 (EST)
Hello,
--- Meino Christian Cramer [EMAIL PROTECTED] wrote:
1.) Splitting line into two from normal mode.
My current concept (hu...great word...;) to split a line
exec set
guifont=.g:maxd_Font.:h.g:maxd_FontSize.:.g:maxd_FontOpts
endfunction
-Original Message-
From: Meino Christian Cramer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 8:23 PM
To: vim@vim.org
Subject: Re: Two problems
From: Peter Hodge [EMAIL PROTECTED
18 matches
Mail list logo