李长青 [EMAIL PROTECTED] 写于 2007-04-10 10:14:07:
hi,all:
thank you.
I install vim70 as a new software ,not update from other version.
And there is not a file named vimrc_example.vim at the path
/usr/share/vim/vim70,just a file named debian.vim.And when I install
vim70
Hi,
Seems you are using Debian? Which package do you choose (I suppose you
installed vim-tiny not vim)? If so, replace the vim-tiny with
vim via apt-get or aptitude.
Best,
Zhaojun
On 4/10/07, 李长青 [EMAIL PROTECTED] wrote:
hi,all:
thank you.
I install vim70 as a
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: 07 April 2007 05:46
To: Yakov Lerner
Cc: vim@vim.org; Meino Christian Cramer; Bram Moolenaar
Subject: Re: Vim freezes system ?!
Yakov Lerner wrote:
On 4/6/07, Yakov Lerner [EMAIL PROTECTED] wrote:
On
Hi,all:
Sorry to trouble you all to help me.
I have install a complete Version of Vim7.0,and it has been solved.
Thank you again.
Happy vimming.
yhntgbty
- Original Message -
From: Zhaojun WU [EMAIL PROTECTED]
To: yhntgbty [EMAIL PROTECTED]
Sent: Tuesday, April 10,
Zdenek Sekera wrote:
[...]
Just to add more to the confusion, on my box (RedHat Enterprise Linux,
512Mb Ram) I have
maxmapdepth=1000
maxmempattern=1000
maxmem=257676
maxmemtot=257676
Which tells me the last two can hardly be in kb and all over I don't
understand what really they mean.
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: 10 April 2007 09:10
To: Zdenek Sekera
Cc: Yakov Lerner; vim@vim.org; Meino Christian Cramer; Bram Moolenaar
Subject: Re: Vim freezes system ?!
Zdenek Sekera wrote:
[...]
Just to add more to the confusion,
Zdenek Sekera wrote:
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: 10 April 2007 09:10
To: Zdenek Sekera
Cc: Yakov Lerner; vim@vim.org; Meino Christian Cramer; Bram Moolenaar
Subject: Re: Vim freezes system ?!
Zdenek Sekera wrote:
[...]
Just to add more to
Hi,
A.J.Mechelynck wrote:
Kamaraju S Kusumanchi wrote:
Let's say I open up a webpage, select some text and paste it into vim. Then
all I see in vim is the text I see on the browser. While this is OK most of
the times, sometimes I wish there is a way to paste the actual HTML code
Hi,
I can not find (manual, list-archiv, google) how to use boolean
operators (and, or) in script.
I prefer this:
if i500 and i1000
One working solution:
normal G
let numberofrows = line(.)
normal gg
let i = 1
while i=numberofrows
if i500
if i1000
do something
Hi,
me wrote:
actually, the selected HTML code might be available from the clipboard.
E.g., both Firefox and Internet Explorer put it there in multiple
formats. The following are lists of the available formats after copying
from FF and IE, respectively:
49161: DataObject
49422:
Hi,
Horvath Adam wrote:
I can not find (manual, list-archiv, google) how to use boolean
operators (and, or) in script.
I prefer this:
if i500 and i1000
boolean and is written as and boolean or is written as ||. So
your example becomes
if i500 i1000.
One working solution:
Thanks, it's really straightforward, but where is it in the manual?
http://vimdoc.sourceforge.net/htmldoc/usr_41.html - here I can not find.
while i=numberofrows
if i500 i1000
do something
Horvath Adam wrote:
Hi,
I can not find (manual, list-archiv, google) how to use boolean
operators (and, or) in script.
I prefer this:
if i500 and i1000
if (i 500) (i 1000)
The parentheses are not really necessary but I use them for clarity.
see :help expression-syntax
One
Jürgen Krämer wrote:
Hi,
Horvath Adam wrote:
I can not find (manual, list-archiv, google) how to use boolean
operators (and, or) in script.
I prefer this:
if i500 and i1000
boolean and is written as and boolean or is written as ||. So
your example becomes
if i500 i1000.
One working
Horvath Adam wrote:
Thanks, it's really straightforward, but where is it in the manual?
http://vimdoc.sourceforge.net/htmldoc/usr_41.html - here I can not find.
see the help topic in my post of a few minutes ago.
Rather than searching vimdoc, man or google, in Vim your first resource should
On 4/10/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Zdenek Sekera wrote:
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: 10 April 2007 09:10
To: Zdenek Sekera
Cc: Yakov Lerner; vim@vim.org; Meino Christian Cramer; Bram Moolenaar
Subject: Re: Vim freezes
Hi All,
On my gvim 7 running on Win Xp none of the following work to move to
another window (I'm actually using the project plugin, but I don't
think that's relevant)..
CTRL-W Left *CTRL-W_Left*
CTRL-W CTRL-H *CTRL-W_CTRL-H*
Samuel Wright wrote:
Hi All,
On my gvim 7 running on Win Xp none of the following work to move to
another window (I'm actually using the project plugin, but I don't
think that's relevant)..
CTRL-W Left*CTRL-W_Left*
CTRL-W CTRL-H*CTRL-W_CTRL-H*
CTRL-W BS
Albie Janse van Rensburg wrote:
Samuel Wright wrote:
Hi All,
On my gvim 7 running on Win Xp none of the following work to move to
another window (I'm actually using the project plugin, but I don't
think that's relevant)..
CTRL-W Left*CTRL-W_Left*
CTRL-W CTRL-H
Samuel Wright wrote:
Guys,
Thanks for the response!
Albie, yes I was talking about split windows. not vim tabs or windows
apps...
Tony, thanks for reminding me of :map to check what a mapping does.
Yes, it was mapped in an obscure corner of my vimrc, that will teach
me to cut and paste
On 10/04/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
In general, the safest keys to use for the {lhs} (left-hand side) of mappings
are the F keys. Almost everything else already has a function in Vim. Among
Worth knowing. Thanks. What about when using a leader such as , or / ?
Hit any key to
Hi,
One question again for me.
Can I use variable in pattern of substitute() in script?
let row = getline(j) 'trallala'
let rownext = getline(j+1) 'bimbam'
let row = substitute(row, ^\\\(.*\\\)$, \\1 rownext, g)
'trallala bimbam'
Thanks, b. r.
Aruna
On 4/10/07, Horvath Adam [EMAIL PROTECTED] wrote:
Hi,
One question again for me.
Can I use variable in pattern of substitute() in script?
let row = getline(j) 'trallala'
let rownext = getline(j+1) 'bimbam'
let row = substitute(row, ^\\\(.*\\\)$, \\1 rownext, g)
let row = substitute(row,
Hi,
I often use CTRL-gf to open the word under cursor in a new tab page. This
opens a new tab for the file at tab pos 0. Is it possible to control
at which position CTRL-gf opens the new tab?
I tried it with an autocommand on event TabEnter but that also triggers
when I change into a already
Great! Thank you!
let row = substitute(row, ^\\\(.*\\\)$, \\1 . rownext, g)
Yakov
Can I use variable in pattern of substitute() in script?
let row = getline(j) 'trallala'
let rownext = getline(j+1) 'bimbam'
let row = substitute(row, ^\\\(.*\\\)$, \\1 rownext, g)
'trallala bimbam'
yes is the short answer, though you have to
1) concat it (if there's something to which it
In general, the safest keys to use for the {lhs} (left-hand
side) of mappings are the F keys. Almost everything else
already has a function in Vim. Among
Worth knowing. Thanks. What about when using a leader such as
, or / ?
The comma does a reverse-search of the last thing you searched
for
On 10/04/07, Tim Chase [EMAIL PROTECTED] wrote:
The comma does a reverse-search of the last thing you searched
for using t/T/f/F which many folks don't use (so they use it for
leader), but I use regularly.
Yes, have seen , used as leader before. Will look at the other usage
though, as it is
The following snippet of code, when saved with a .pl file extension
breaks the colour coding in Vim
#!/usr/bin/perl -w
my $surname = ABC-DEF GHI;
@split = split ( / |-|\/|\/ , $surname , -1 );
foreach ( @split )
{
print $_\n;
}
The lines after the
Ralf,
I use shift-control-g to open the file under the cursor in a new
tab, placing the new tab at the end of the tablist thusly:
map silent C-S-G C-Wgf:tabm 999CR
Oddly enough, this mapping also takes over plain old control-g,
which is fine for me.
When I'm editing JSP files that have lots
Jon Combe wrote:
The following snippet of code, when saved with a .pl file extension
breaks the colour coding in Vim
#!/usr/bin/perl -w
my $surname = ABC-DEF GHI;
@split = split ( / |-|\/|\/ , $surname , -1 );
foreach ( @split )
{
print $_\n;
}
Hi,
how can I identify a single line no longer than e.g. 60 characters
preceded and followed by a blank line via regexs. This way I want to
identify section headings. What I did was mark every blank line with
%s/^$// and than chomp the CR %s/\n//g and if the text
between the 's isn't longer
Informationen wrote:
Hi,
how can I identify a single line no longer than e.g. 60 characters
preceded and followed by a blank line via regexs. This way I want to
identify section headings. What I did was mark every blank line with
%s/^$// and than chomp the CR %s/\n//g and if the text
how can I identify a single line no longer than e.g. 60 characters
preceded and followed by a blank line via regexs. This way I want to
identify section headings. What I did was mark every blank line with
%s/^$// and than chomp the CR %s/\n//g and if the text
between the 's isn't longer than 60
On 4/10/07, Jürgen Krämer [EMAIL PROTECTED] wrote:
Hi,
me wrote:
actually, the selected HTML code might be available from the clipboard.
E.g., both Firefox and Internet Explorer put it there in multiple
formats. The following are lists of the available formats after copying
from FF and
Dudley Fox wrote:
Hello Vim List,
I have used vim for a while, and though no expert I am fairly
comfortable with the common commands. Recently I ran into a situation
where I just couldn't find a way to do a search and replace. I was
hoping some of you experts could help me out.
Starting text:
I am trying to do something to the effect of
ls | gvim - --remote-client. or ls | gvim --remote-client -
However, vi sees the - as a file name and opens a new filename. Is there
way to open the stdin output on a gvim server?
Thanks
Mahesh
Is doesn't seem possible to store my patterns in variables for use in syntax
definitions like the following:
let s:mypattern = '#.*'
syn match myPattern s:mypattern
I get 'pattern delimiter not found' and what not. Is there a way to achieve
this?
The general problem I'm trying to solve is
Hello,
You'll probably need to use 'execute':
execute 'syn match myPattern' s:mypattern
but again, highlighting won't work for you then.
regards,
Peter
--- Ian Tegebo [EMAIL PROTECTED] wrote:
Is doesn't seem possible to store my patterns in variables for use in syntax
definitions
That's a very good tip: )
I also wanna know how to insert a Tab when I editing files like
/etc/hosts?
Can I?
[EMAIL PROTECTED] wrote:
wangxu [EMAIL PROTECTED] 写于 2007-04-05 21:08:43:
but in this situation,is there any way to auto-indent *.py?
is decrease indent (hold on Shift,
On 4/11/07, wangxu [EMAIL PROTECTED] wrote:
That's a very good tip: )
I also wanna know how to insert a Tab when I editing files like
/etc/hosts?
Can I?
What I did for indenting is I usually use space to replace the TAB
with the following settings:
set expandtab
set tabstop=4
But if I indeed
On 4/10/07, Peter Hodge [EMAIL PROTECTED] wrote:
Hello,
You'll probably need to use 'execute':
execute 'syn match myPattern' s:mypattern
but again, highlighting won't work for you then.
I see what you're talking about in the syntax files like rst, c, sql, and gdb.
I wonder how hard it
Ian Tegebo wrote:
On 4/9/07, Nikolai Weibull [EMAIL PROTECTED] wrote:
The manSubHeading is defined as
syn match manSubHeading ^\s\{3\}[a-z][a-z ]*[a-z]$
This will, however, match more lines than I think is intended. It
will, for example, match the line
\t returns are what are
Nikolai Weibull wrote:
On 4/9/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
In this case, by looking at syntax/man.vim, its: Gautam H. Mudunuri
gmudunur AT informatica.com.
Actually, this was actually the wrong maintainer. Gautam was the
previous maintainer of this file. Nam
On 4/10/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
On 4/9/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
In this case, by looking at syntax/man.vim, its: Gautam H. Mudunuri
gmudunur AT informatica.com.
Actually, this was actually the wrong maintainer.
45 matches
Mail list logo