On 08:10 Thu 01 Sep , Lars Iselid wrote:
> Thanks for help!
>
> I want to write the digits and actually my full regex in vim is:
> /[-0-9]\{13,17\}
>
> I want numbers with 13 to 17 digits even if they have hyphens between the
> digits. Should then be something like:
>
> :g/[-0-9]\{13,17\}/t.
Ok, I've changed to:
:g/[-0-9]\{13,17\}/t.|s/^[0-9]\+//g|w! >> my.txt | d
I still not just get the 13 to 17 digits strings. You say it will copy all
the lines that starts with digits. I don't want the whole line just the
digit string, not what follows with exception if it's another 13 to 17
digits
Hi Lars!
On Do, 01 Sep 2011, Lars Iselid wrote:
> Ok, I've changed to:
> :g/[-0-9]\{13,17\}/t.|s/^[0-9]\+//g|w! >> my.txt | d
>
> I still not just get the 13 to 17 digits strings. You say it will copy all
> the lines that starts with digits. I don't want the whole line just the
> digit string, n
Still gets the whole content to the my.txt file. How to not write the whole
buffer?
Lars Iselid
On Thu, Sep 1, 2011 at 12:24 PM, Christian Brabandt wrote:
> Hi Lars!
>
> On Do, 01 Sep 2011, Lars Iselid wrote:
>
> > Ok, I've changed to:
> > :g/[-0-9]\{13,17\}/t.|s/^[0-9]\+//g|w! >> my.txt | d
Hi Lars!
On Do, 01 Sep 2011, Lars Iselid wrote:
> Still gets the whole content to the my.txt file. How to not write the whole
> buffer?
Please show the exact command you used.
regards,
Christian
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply bel
Checked carefully again and I had missed a point. Sorry! But in my result
each string of digits (10 to 17) from same line (or paragraph) is sorted in
one string without spaces. How to get the output sorted in one column with
each string of digits in each row? Or at least spaces between each string
Hi Lars!
On Do, 01 Sep 2011, Lars Iselid wrote:
> Checked carefully again and I had missed a point. Sorry! But in my result
> each string of digits (10 to 17) from same line (or paragraph) is sorted in
> one string without spaces. How to get the output sorted in one column with
> each string of d
On 09/01/11 01:10, Lars Iselid wrote:
I want to write the digits and actually my full regex in vim
is: /[-0-9]\{13,17\}
I want numbers with 13 to 17 digits even if they have hyphens
between the digits.
For this, I'd tend to do something like put each match on its own
line and then delete all
Hi. I use a light background (set background=light). I like tab
indicators with lower contrast, so I highlight them with light grey:
hi SpecialKey guifg=#dd
I recently tried :set cursorline and really liked it. I've set the
cursor line colour with:
hi CursorLine guibg=#e5efff
Normal
Three thoughts:
1. You might try asking on vim_mac to see if anyone there has advice.
2. Install [XCode 2.5][]. That should include a CLI-only vim binary, as
well as things like basename, python, perl, etc. (You will need a
free apple developer account to download.) On OS X, you need to
On 01/09/11 11:24, Paul Giannaros wrote:
Hi. I use a light background (set background=light). I like tab
indicators with lower contrast, so I highlight them with light grey:
hi SpecialKey guifg=#dd
I recently tried :set cursorline and really liked it. I've set the
cursor line colour wi
On 08/30/11 10:08, Joey Beninghove wrote:
Also, it's still very early, but I'll definitely need some
presenters lined up, so let me know if you're interested in
giving an online teaching session for VimConf.
While I acknowledge it's still early, it might be helpful to know
what sorts of expect
Am 12.08.2011 18:14, schrieb Stephen Prater:
I'm trying to debug a vimscript. Alright, I'm trying to debug ANY
vimscript.
I can run
debug call MyFunction()
or
debug :MyCommand
And the next line that I see is always
line 1: let cmd=getcmdline()
No matter what commands I enter this is all I eve
Am 26.08.2011 19:24, schrieb Gerardo Marset:
I'm looking for a way of knowing wether or not all the characters up
to the cursor position in the current line are spaces. How would I do
that?
Thanks!
I'd use the following test (echos 1 (= true) if cursor is on initial
white-space):
:echo v
That is a good idea. It works for me.
On Aug 30, 11:43 pm, "Christian Brabandt" wrote:
> On Tue, August 30, 2011 11:17 am, Rice wrote:
> > I sorry that I repost this subject, which is post in 2006,
> >http://vim.1045645.n5.nabble.com/Making-Omni-Complete-suggest-but-not...,
> > But it seems that
El 01/09/11 14:47, Andy Wokula escribió:
Am 26.08.2011 19:24, schrieb Gerardo Marset:
I'm looking for a way of knowing wether or not all the characters up
to the cursor position in the current line are spaces. How would I do
that?
Thanks!
I'd use the following test (echos 1 (= true) if curso
El 27/08/11 00:22, Tony Mechelynck escribió:
On 26/08/11 19:24, Gerardo Marset wrote:
I'm looking for a way of knowing wether or not all the characters up to
the cursor position in the current line are spaces.
How would I do that?
Thanks!
Spaces only, or spaces and tabs, or any whitespace in
Thank You very much!I got the idea and have solved this problem I
meet!
On Aug 30, 11:43 pm, "Christian Brabandt" wrote:
> On Tue, August 30, 2011 11:17 am, Rice wrote:
> > I sorry that I repost this subject, which is post in 2006,
> >http://vim.1045645.n5.nabble.com/Making-Omni-Complete-suggest-
63 and a complete noobe to Vim, I've installed version 7.3 in Windows
Vista. I'm trying to find an extra income source and settled on
formatting plain text files into e-books using xhtml. I found what
appears to be a phenomenal program, Vim but it looks to be more than a
little intimidating. I'm fa
I would like to capitalize the words, "Narrator (v.o.)" between the paragraph
tags below:
I need to keep the entire tag as shown. For example, other tags have a
margin of 1in, and I don't want to capitalize between them.
Another issue is the hard return after "Narrator". Some of the lines in my
20 matches
Mail list logo