Dnia piątek, 4 sierpnia 2006 22:39, François Pinard napisał:
[Mikolaj Machowski]
[Mohsin]:
Vim only has syntax coloring with regexps. Emacs has functions to
apply properties to text blocks, and I was hoping vim has something
comparable.
Of course it is possible:
:help /\%l
:help /\%c
Bug or feature? When running GUI-enabled Vim in a console (not possible
on W32, but on Unix it is), the has() and exists() functions do not
always reflect the _current_ reality. Examples:
:echo has(gui_gtk2)
1
In the above case it may be regarded as a feature: I can still check
Martin Krischik wrote:
[...]
I was hoping there is a way without unduly stuffing Brams E-Mail inbox...
Bram has the final say on what makes it into the official distribution
anyway. Just be sure the Subject: line of your email clearly indicates
what you're writing about.
Martin
PS: Take
François Pinard wrote:
[...]
I did not really take position about if Vim or Emacs are better than one
another, or wrong altogether :-). But I do have an opinion: both are
great editors, each with their own many virtues and few weaknesses, each
being a good source of inspiration and ideas for
On 8/4/06, Martin Krischik [EMAIL PROTECTED] wrote:
How are updates to the runtime files submitted?
You email them to Bram.
Yakov
Nikolai Weibull wrote:
[...]
However, it can sort of be simulated by having marks that stick to the
text position that they mark, instead of line + fixed column. (We
don't have this kind of mark at the moment.)
nikolai
IIUC, Vim's marks _are_ normally anchored to the text they mark, not
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
However, it can sort of be simulated by having marks that stick to the
text position that they mark, instead of line + fixed column. (We
don't have this kind of mark at the moment.)
IIUC, Vim's marks _are_
Nikolai Weibull wrote:
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
However, it can sort of be simulated by having marks that stick to the
text position that they mark, instead of line + fixed column. (We
don't have this kind of mark at the moment.)
IIUC,
On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
However, it can sort of be simulated by having marks that stick to the
text position that they mark, instead of line + fixed column. (We
Yakov Lerner wrote:
On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
However, it can sort of be simulated by having marks that stick
to the
text position that they mark, instead of line
Hi,
I was wondering if there is a plan to add the feature of Normal-mode
editing within a visual block. This would be very useful when drawing
ASCII figures in Vim, when you want to focus on and make changes in
a region. I haven't seen so far scripts smart enough to support, e.g.,
the Normal
Dnia sobota, 5 sierpnia 2006 15:03, Martin Krischik napisał:
- Many runtime files, and in particular most of the help files, have
been reissued with new or updated contents for version 7.0. You should
find them, for instance, under vim70/runtime/ in
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
When breaking a line before a mark, the mark stays with the part-line
before the line break:
And I repeat: Bug?
No. That's just the way marks work. And it's a misfeature in my opinion.
It's always possible to add another type of mark
Weiguang Shi wrote:
Hi,
I was wondering if there is a plan to add the feature of Normal-mode
editing within a visual block. This would be very useful when drawing
ASCII figures in Vim, when you want to focus on and make changes in
a region. I haven't seen so far scripts smart enough to
Nikolai Weibull wrote:
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
When breaking a line before a mark, the mark stays with the part-line
before the line break:
And I repeat: Bug?
No. That's just the way marks work. And it's a misfeature in my opinion.
It's always possible to add
--- A.J.Mechelynck [EMAIL PROTECTED] wrote:
...
To draw ASCII figures within an area of text, I suggest
Virtual-Replace
mode (see :help gR and :help Virtual-Replace-mode) with
'virtualedit' set to all.
I tried the V-R mode and found it very useful, thanks!
To be able to swap lines
On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Nikolai Weibull wrote:
It's always possible to add another type of mark that stays with the
text, whatever happens, and I don't think it should be too hard to
implement, see mark_col_adjust(). But Bram thought it would be
difficult and
On Fri, 4 Aug 2006 09:07:35 -0400, striker [EMAIL PROTECTED] wrote:
I agree with Chip and have a recommendation. Since you have been
using Vim, Perl will be much easier to learn.
A very good beginning book on Perl is located at http://
learn.perl.org/library/beginning_perl/ . It is not
On Fri, 04 Aug 2006 10:02:55 -0500
Tim Chase [EMAIL PROTECTED] wrote:
Well, you mention not wanting to manually yank the
text...however, if it was automatically yanked into a register
for you, would that be okay? Or do you not want to touch the
unnamed register at all? If the former is
Hi!
Can anyone explain me how the font for menu in GUI is selected? I have 3
computers with the same set of fonts and the same configuration for
fonconfig, the same version of gvim (different GTK though) and on all
3 machines I get different menu font :) The worse is on the laptop.
There the font
On Sat, 05 Aug 2006 10:28:13 +0200
Preben Randhol [EMAIL PROTECTED] wrote:
:vnoremap f4 yyic-r=Template(@y)cresc
However, this works:
vmap f4 y:call Template('c-r=@@CR')CR
Preben
Hi Tony,
* A.J.Mechelynck on Saturday, August 05, 2006 at 01:25:22 +0200:
Christian Ebert wrote:
* A.J.Mechelynck on Friday, August 04, 2006 at 19:51:53 +0200:
You may want to determine which script or plugin is responsible: search
for the word sign (i.e. the pattern /\sign\/ ) in the
I'm trying to change the shape of the cursor in console vim. I inquired
about this a few weeks ago, and so provided with the helpful suggestion
of looking into :help termcap-cursor-shape
Well and good, I have a chance to try it out. I was going to start with
the example from the help screen,
Christian Ebert wrote:
Hi Tony,
[...]
This was the answer I was expecting, but you wrote a whole
manual! Thank you very much; this is really kind.
I'm a retired teacher. Sometimes it shows. ;-)
[...]
Thanks again.
c
My pleasure.
Best regards,
Tony.
Hey Group;
REF: backup file name - file~
I have tried turning this off in ~/.vimrc and it still works. I find
this character as a pain because double clicking fails to see a ~ and
without being careful it is possible to delete the wrong file seen which
is missing the ~. I have looked in
On Sat, Aug 05, 2006 at 05:53:56AM EDT, Andrei A. Voropaev wrote:
Hi!
Can anyone explain me how the font for menu in GUI is selected? I have 3
computers with the same set of fonts and the same configuration for
fonconfig, the same version of gvim (different GTK though) and on all
3 machines
William O'Higgins Witteman wrote:
I'm trying to change the shape of the cursor in console vim. I inquired
about this a few weeks ago, and so provided with the helpful suggestion
of looking into :help termcap-cursor-shape
Well and good, I have a chance to try it out. I was going to start with
Donn Washburn wrote:
Hey Group;
REF: backup file name - file~
I have tried turning this off in ~/.vimrc and it still works. I find
this character as a pain because double clicking fails to see a ~ and
without being careful it is possible to delete the wrong file seen which
is missing the ~.
Donn Washburn wrote:
[...]
Thanks Tony;
As for a temp backup I do agree so that vim can repair/replace a goof
instead of memory. I just get tired of removing file~ and finding out
that I needed to find the ~ keyy to complete it.
Thanks again and I will seeks out more use of vim help.
If
On Sat, 05 Aug 2006 09:05:56 -0500
Tim Chase [EMAIL PROTECTED] wrote:
The zero is what is the return value of the function which is
used as the replacement text. By default, if you don't specify a
return-value for a function, it returns 0.
I was expecting your function's return
On 8/4/06, Lev Lvovsky [EMAIL PROTECTED] wrote:
On Aug 4, 2006, at 10:56 AM, Tim Chase wrote:
It doesn't exist exactly as you describe. You can highlight all
hits of the thing actually searched for (:set hls), and you can
highlight the current word incrementally as you type the search
(:set
On Sat, 5 Aug 2006 18:11:04 +0200
Andrei A. Voropaev [EMAIL PROTECTED] wrote:
Hm. I didn't have neither of these files and didn't know how
to create them.
I assume you don't use Windows.
vim ~/.gtkrc-2.0
and write this in the file:
gtk-font-name = Sans 9
gtk-can-change-accels=1
Preben
I don't like having the indentation running when I work on HTML files
(once I get a few elements deep it's a real pain to work with) so I
tried disabling this functionality. I eventually added the following to
my html.vim file:
set noai
set nocin
set noci
set nosi
set nopi
set indentexpr=
set
On 8/5/06, JStrom [EMAIL PROTECTED] wrote:
I don't like having the indentation running when I work on HTML files
(once I get a few elements deep it's a real pain to work with) so I
tried disabling this functionality. I eventually added the following to
my html.vim file:
set noai
set nocin
set
On Sat, Aug 05, 2006 at 12:11:04PM EDT, Andrei A. Voropaev wrote:
On Sat, Aug 05, 2006 at 08:47:42AM -0400, cga2000 wrote:
On Sat, Aug 05, 2006 at 05:53:56AM EDT, Andrei A. Voropaev wrote:
Hi!
Can anyone explain me how the font for menu in GUI is selected? I have 3
computers with
Let's say I want to check if we are inside phpRegion
(?php...?).
I am aware of synID(), synIDattr() and
synIDtrans() functions, but they only tell the lower-most
syntax group.
The current point has the whole stack of regions
and matches above it. right, and what ig I want to check if pfpRegion
Hi Yakov,
--- Yakov Lerner [EMAIL PROTECTED] wrote:
Must be possible using CursorMoves autoevent, except
that I don't see in syntax/html.vim how ?php ... ? is handled.
Is is indeed in syntax /html.vim ?
PHP stuff is in syntax/php.vim which loads html.vim inside it.
regards,
Peter
Send
Hello Vim List,
Example 1:
:echo . matchstr( 1.2345 ,[0-9.]) . CR
1
Example 2:
:echo . matchstr( 1.2345 ,[0-9.]*) . CR
Why isn't the second exampe returning 1.2345?
Is there a better way of stripping spaces off a string?
--
Best regards,
Bill
Bill McCarthy wrote:
Hello Vim List,
Example 1:
:echo . matchstr( 1.2345 ,[0-9.]) . CR
1
Example 2:
:echo . matchstr( 1.2345 ,[0-9.]*) . CR
Why isn't the second exampe returning 1.2345?
Is there a better way of stripping spaces off a string?
What you get is the first
Bill McCarthy wrote:
On Sat 5-Aug-06 10:42pm -0600, A.J.Mechelynck wrote:
Bill McCarthy wrote:
Example 1:
:echo . matchstr( 1.2345 ,[0-9.]) . CR
1
Example 2:
:echo . matchstr( 1.2345 ,[0-9.]*) . CR
Why isn't the second exampe returning 1.2345?
Is there a better way
40 matches
Mail list logo