Could someone help me here; I tried what Dave suggested but with no success.
Regards,
Sibin
> -Original Message-
> From: Sibin P. Thomas [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 31, 2006 6:25 AM
...
> I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have
> installed cygwi
Hi,
I am facing this syntax highlighting problem here for the following code
segment. The problem is if we put this code in a file having .c
extension. The same macro color is shown for the main() function also.
Does anyone else faced this problem with vim7 ?
regards,
s
===somefile.c=
Hi,
I have file which contains hexadecimal numbers like below:
04F --- 05F --- 052 --- 188 --- 2D4 --- 173 --- 040 --- 18D
051 --- 040 --- 05F --- 1CA --- 2E8 --- 14F --- 040 --- 1E2
051 --- 040 --- 069 --- 1B9 --- 2D7 --- 15E --- 040 --- 1A6
051 --- 0
Hi
Can anyone tell me whether I can customize the tab bar in vim 7.0 (vim,
not gvim). Colours, etc.
Thanks
Bart
I am terribly sorry that I misspelled your name Chip.
My apologies
tien pham
On Wed, Aug 02, 2006 at 07:09:24PM EDT, Brian Dorsey wrote:
> On 8/2/06, cga2000 <[EMAIL PROTECTED]> wrote:
> >On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote:
> >I think that's the one I downloaded once.
> >
> >Only problem I have with it is that when you only bring up Windows
> >occasi
Hi Benji,
..snip..
I think the simple answer (untested) is to add "containedin=ALL" to
your syntax definition.
:help syn-containedin
Many thanks, that seem to do the trick. Vim syntax files are something
I haven't got my head around yet.
Cheers,
Brett
Thanks Yakov, and others for the Escape substitute ideas. I'll probably try a
few of them.
John
On Wednesday 02 August 2006 19:13, Yakov Lerner wrote:
> On 8/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > On 8/2/06, John Orr <[EMAIL PROTECTED]> wrote:
> > > When you type a command in vim that
Hi everyone
Thanks Clip for your tip.
I have to say that this VIM group has so many helpful experts. For people
with limited understanding in computing language like me, this is so great
and I am very grateful.
Regards
tien
At 12:11 PM 2/08/2006 -0400, Charles E Campbell Jr wrote:
Peter
Have you tried AutoHotKey? It's a brilliant (free) program for writing
powerful macros on windows, trigger by both keyboard and mouse, it must be able
to achieve the desired effect.
On Thursday 03 August 2006 09:09, you wrote:
> On 8/2/06, cga2000 <[EMAIL PROTECTED]> wrote:
> > On Wed, Aug 02,
Hi Mark and Tony
Thank you for your help, very much appreciated.
Kind regards
tien
At 12:43 PM 2/08/2006 +0200, A.J.Mechelynck wrote:
Mark Woodward wrote:
Hi Tien,
On Wed, 02 Aug 2006 12:09:39 +1000
Tien Pham <[EMAIL PROTECTED]> wrote:
Hi all
Is there any key stroke to update content of a
On 8/2/06, cga2000 <[EMAIL PROTECTED]> wrote:
On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote:
I think that's the one I downloaded once.
Only problem I have with it is that when you only bring up Windows
occasionally each time you boot you need to bring up the Cpanel >
keyboard popup,
On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote:
[..]
>
> I use KeyTweak for my CAPS re-mapping needs (in windows):
> http://webpages.charter.net/krumsick/
>
I think that's the one I downloaded once.
Only problem I have with it is that when you only bring up Windows
occasionally each
On 8/2/06, Will Maier <[EMAIL PROTECTED]> wrote:
On Wed, Aug 02, 2006 at 04:19:52PM -0400, Michael Hernandez wrote:
> On my powerbook I changed caps lock to be ctrl, and now can
> achieve the effect of ESC ( via ctrl-[ ) without either hand
> leaving the home row :)
Every computer I touch gets
|Hmm, well using your example (http://www.grida.no/arctic/) both curl
|and wget yield an empty file.
Maybe that was a very bad example, if you look at the headers in curl, that
yields a 302 redirect and not an empty page (which should be a 404) - my
wget follows that redirect (there might be a sw
On Wed, Aug 02, 2006 at 04:19:52PM -0400, Michael Hernandez wrote:
> On my powerbook I changed caps lock to be ctrl, and now can
> achieve the effect of ESC ( via ctrl-[ ) without either hand
> leaving the home row :)
Every computer I touch gets that treatment. I haven't touched L_CTRL
in years.
On Aug 2, 2006, at 4:13 PM, Will Maier wrote:
On Wed, Aug 02, 2006 at 01:03:52PM -0700, Brian Dorsey wrote:
On 8/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
Regarding remote nature of Esc key, I solved it for myself by
I using mini-keyboard, 28x10cm. I love it. Everything is nearer
on such
On Wed, Aug 02, 2006 at 01:03:52PM -0700, Brian Dorsey wrote:
> On 8/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> >Regarding remote nature of Esc key, I solved it for myself by
> >I using mini-keyboard, 28x10cm. I love it. Everything is nearer
> >on such keyboard, fingers need to travel less. I
On 8/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
Regarding remote nature of Esc key, I solved it for myself by
I using mini-keyboard, 28x10cm. I love it. Everything is nearer
on such keyboard, fingers need to travel less. I heard other people
remap Esc key to some other less distant key.
I d
Hugo Ahlenius wrote:
The "http" prefix should tell that this is a URL that should be retrieved
using the http protocol and nothing else. A URL with a trailing slash is
still a fully valid URL, and doesn't not signify directories or anything
like that on the www. I would really like netrw to just
cga2000 wrote:
On Tue, Jul 04, 2006 at 02:24:35AM EDT, cga2000 wrote:
I have the vimspell plugin installed and I am able to use the ':'
commands but the \.. shorcuts are not working the way I expected:
If I type \sA to start autospell mode for instance I get:
. a beep for the backslash
. a swi
Max Dyckhoff wrote:
I normally run with lots of splits. Recently I started using italics for
various syntax highlighting (especially comments and enum tag values).
Since then I have noticed the ocassional pixel remaining when I switch
from one split to another.
The situation where this happens i
On Tue, Jul 04, 2006 at 02:24:35AM EDT, cga2000 wrote:
> I have the vimspell plugin installed and I am able to use the ':'
> commands but the \.. shorcuts are not working the way I expected:
>
> If I type \sA to start autospell mode for instance I get:
>
> . a beep for the backslash
> . a switch
Thanks for the prompt reply Tim.
Changing 'linespace' didn't seem to help at all, and I don't really want
to change the font. I also don't want to remove the text decoration; I
like my syntax highlighting as it is.
Control-L worked perfectly though; I've just added 'redraw!' to my
WinEnter au and
I normally run with lots of splits. Recently I started using
italics for various syntax highlighting (especially comments
and enum tag values). Since then I have noticed the ocassional
pixel remaining when I switch from one split to another.
Any ideas what I can do to fix this? I'm on Windows XP,
I normally run with lots of splits. Recently I started using italics for
various syntax highlighting (especially comments and enum tag values).
Since then I have noticed the ocassional pixel remaining when I switch
from one split to another.
The situation where this happens is pretty reproducable.
On 8/2/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Robert Cussons wrote:
> Bernd Strohhäcker wrote:
>
>> try Charles Campell's vis-script:
>> http://www.vim.org/scripts/script.php?script_id=1195
>
> Thanks for the pointer to this, it is a useful script, if Charles is
> out there today,
Jose Castro wrote:
2) Is there a way for me to continue adding matches past the third?
Not with the code for vim 7.0 as-is. However, I suggest looking into
:help /bar
You can only have three highlighting matches, but you can have each
match match lots of different things.
Regards,
Chip
Brett Calcott wrote:
I want to add some extra syntax highlighting to my latex documents. I
am writing a thesis, so I have separate files for each chapter.
For example, I add this in ~/vimfiles/extra/syntax/tex.vim
syn region texFootnotematchgroup=texStatement
start="\\footnote{" end="}"
Peter Hodge wrote:
Sorry, it seems I was a little naive with that autocommand I showed you, it
doesn't work because CursorHold won't trigger again until you press a key.
After a little experimentation, I think you would best add something like this
CursorHold will fire (once) some time has e
Robert Cussons wrote:
Bernd Strohhäcker wrote:
try Charles Campell's vis-script:
http://www.vim.org/scripts/script.php?script_id=1195
Thanks for the pointer to this, it is a useful script, if Charles is
out there today, just a little point, it doesn't seem to like 'c'
being used in substit
Eric Leenman wrote:
Hi,
I have a long file which contains like:
##
| 0123456
##
Line 18 | 123
Line 19 |abc
-
How do I deleted per line all the 'odd' 200?
If there are repeated 200 200 200 200 ...
:%s/200\s\+200\s\+/200 zzz /g
Regards,
Ben K.
Developer
http://benix.tamu.edu
Tim, Jurgen, Ben,
Thanks,
It works.
Rgds,
Eric
_
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
How do I deleted per line all the 'odd' 200?
:%s/ 200 200 200 / 200 zzz 200 /g
:%s/ 200 / /g
:%s/zzz/200/g
Just an idea...
Regards,
Ben K.
Developer
http://benix.tamu.edu
Hi,
Eric Leenman wrote:
>
> I see that my the 'ASCII-layout' is not what it should be.
> The command deletes all 200.
>
> How can I give the command to deleted only the 1st, 3rd, 5th, 7th, ect..
> 200?
> And leaving (if any) the 2nd, 4th, 6th, ect.
%s/\<200\>\(\%(.\{-\}\<200\>\)\?\)/ \1/g
Hi,
Eric Leenman wrote:
>
> I see that my the 'ASCII-layout' is not what it should be.
> The command deletes all 200.
>
> How can I give the command to deleted only the 1st, 3rd, 5th, 7th, ect..
> 200?
> And leaving (if any) the 2nd, 4th, 6th, ect.
%s/\<200\>\(\%(.\{-\}\<200\>\)\?\)/ \1/g
Apologies, this email should have been a reply to the original post rather
than to yours.
==
Line 18 | 123
Line 18 | 641
Line 19 |abc
Line 19 | GHI
Line 332 |xyz
Line 332 |
Line 18 |200 040 200
200 200 051 200 1C2 200 2E2 Line 18 |
200 040 200 040 200 052 200 1B9 200 2F4
Line 18 |200
Hi,
I see that my the 'ASCII-layout' is not what it should be.
The command deletes all 200.
How can I give the command to deleted only the 1st, 3rd, 5th, 7th, ect..
200?
And leaving (if any) the 2nd, 4th, 6th, ect.
Rgds,
Eric
[snip]
> How do I deleted per line all the 'odd' 200?
[snip]
Hi,
Eric Leenman wrote:
>
> I have a file which contains lines like below
>
> Line 18 |200 040 200
> 200 200 051 200 1C2 200 2E2 Line 18 |
> 200 040 200 040 200 052 200
Hi
I have a file which contains lines like below
Line 18 |200 040 200
200 200 051 200 1C2 200 2E2 Line 18 |
200 040 200 040 200 052 200 1B9 200 2F4
Line 18 |
On 8/2/06, Jose Castro <[EMAIL PROTECTED]> wrote:
" Add new highlight combinations...
highlight WHITE_ON_REDctermfg=white ctermbg=red
highlight RED_ON_YELLOW ctermfg=redctermbg=yellow
highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue
function! BadRefs ()
" Track "faux" refere
Line 18 | 123
Line 18 | 641
Line 19 |abc
Line 19 | GHI
Line 332 |xyz
Line 332 | vcx
Hi, an alternative FWIW
:sort
:g!/^Line/d
Regards,
Ben K.
Developer
http://benix.tamu.edu
Thanks, it works
Eric
From: Tim Chase <[EMAIL PROTECTED]>
To: Eric Leenman <[EMAIL PROTECTED]>
CC: vim@vim.org
Subject: Re: Sorting a file
Date: Wed, 02 Aug 2006 08:44:07 -0500
How do I sort this file so that
- removes the lines starting with ###
:g/^###/d
- removes the lines starting wit
How do I sort this file so that
- removes the lines starting with ###
:g/^###/d
- removes the lines starting with ---
:g/^---/d
- removes the lines starting with spaces
:g/^\s\+/d
- all line 18 , i.e., comes under each other? And line 19 , and so on.
:%!sort
(or, newer versions of v
Hi,
Eric Leenman wrote:
>
> I have a long file which contains like:
> ##
> | 0123456
> ##
> Line 18 | 123
> Line 19 |abc
> -
Hi,
I have a long file which contains like:
##
| 0123456
##
Line 18 | 123
Line 19 |abc
---
I believe you can just do a gwap to leave the cursor in
the same position.
Thanks! Every day I learn something new.
A pretty amazing day when Tony & Tim both learn the same
"something new" about Vim that's easy, useful, and has been
supported (mostly, save for a few bugfixes in later revisio
[snip---see thread]
Thanks all.
C
[EMAIL PROTECTED] wrote:
Dear Vimmers,
I believe you can just do a gwap to leave the cursor in
the same position.
-dan
Thanks! Every day I learn something new.
Best regards,
Tony.
Hi Tony, Tim
[snip]
:imap m'gqap``a
Seems to work like a charm---many thanks to you both for your suggestions.
Best regards
C
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Formatting the paragraph without moving the cursor relative
> to the text is possible but trickier: mark your place, format,
> then go back:
>
>:imap m'gqap``
>
> or
>
>:imap m'gqap``a
If one accepts, that 'formatprg' and 'formatexpr
Dear Vimmers,
I believe you can just do a gwap to leave the cursor in
the same position.
-dan
> Is it possible to format a paragraph (i.e.
> justify it) of text or comments while in insert
> mode? The way I do it now is to visually
> highlight the paragraph and then press "g" and
> then "q".
>
> What I'd like is to be able to press Ctrl-q (or
> something) to format the paragraph (and the
>
C Rose wrote:
Hi
Is it possible to format a paragraph (i.e. justify it) of text or
comments while in insert mode? The way I do it now is to visually
highlight the paragraph and then press "g" and then "q".
What I'd like is to be able to press Ctrl-q (or something) to format the
paragraph (
Hi
Is it possible to format a paragraph (i.e. justify it) of text or
comments while in insert mode? The way I do it now is to visually
highlight the paragraph and then press "g" and then "q".
What I'd like is to be able to press Ctrl-q (or something) to format the
paragraph (and the cursor
| -Original Message-
| From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
| IIUC, when an http: URL ends in a slash, or when it names a directory
| even without a slash, the server retrieves the default page (if any)
| in the directory in question; and it is up to the server to determine
| w
striker wrote:
What version of Vim are you using? In version 7.0 on both Windows and
OS X, highlighting the region and doing :s/x/y/g works fine.
Kevin
yes, linewise (with '<,'> auto inserted after : ). But blockwise?
On Aug 2, 2006, at 2:23 AM, Bernd Strohhäcker wrote:
Dr. Johannes Z
What version of Vim are you using? In version 7.0 on both Windows
and OS X, highlighting the region and doing :s/x/y/g works fine.
Kevin
On Aug 2, 2006, at 2:23 AM, Bernd Strohhäcker wrote:
Dr. Johannes Zellner schrieb:
Hi,
having marked a visual block with ctrl-v, I'd like to so a sear
Jose Castro wrote:
Hi.
In my .vimrc I have:
" Add new highlight combinations...
highlight WHITE_ON_REDctermfg=white ctermbg=red
highlight RED_ON_YELLOW ctermfg=redctermbg=yellow
highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue
function! BadRefs ()
" Track "faux" references
Mark Woodward wrote:
Hi Tien,
On Wed, 02 Aug 2006 12:09:39 +1000
Tien Pham <[EMAIL PROTECTED]> wrote:
Hi all
Is there any key stroke to update content of a currently open file
when its content has been changed?
Reason for this is that I want to look at my log file from a
simulation, as I run
Hi.
In my .vimrc I have:
" Add new highlight combinations...
highlight WHITE_ON_REDctermfg=white ctermbg=red
highlight RED_ON_YELLOW ctermfg=redctermbg=yellow
highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue
function! BadRefs ()
" Track "faux" references...
match WHITE_
James Hales wrote:
Hi,
When I maximize Gvim in Gnome, the status line is partially hidden by
the gnome panel, which is really annoying. This is because of how Vim
resizes itself, i.e. it is constrained to being resized one character
size at a time. When Gvim is maximized, it is half a character
Hi Tien,
On Wed, 02 Aug 2006 12:09:39 +1000
Tien Pham <[EMAIL PROTECTED]> wrote:
> Hi all
>
> Is there any key stroke to update content of a currently open file
> when its content has been changed?
>
> Reason for this is that I want to look at my log file from a
> simulation, as I run simulatio
Robert Cussons wrote:
Carlos Liu wrote:
On 8/2/06, Tim Chase <[EMAIL PROTECTED]> wrote:
> How to put cursor in the middle of screen when replacing words? I have
> to see the next few lines to know replace or not, but the word always
> sit in the bottom of the screen.
Sounds like you're lookin
Hi James,
not a solution but...
On Wed, 2 Aug 2006 09:55:40 +0800
"James Hales" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I maximize Gvim in Gnome, the status line is partially hidden by
> the gnome panel, which is really annoying. This is because of how Vim
> resizes itself, i.e. it is constra
Hugo Ahlenius wrote:
Hi Charles,
Thanks for the response, I have just updated vimball + netrw again...
| >* URLs with question marks in them, like
| >http://www.grida.no/products.cfm?pageID=13
| I just tried it; this appears to work (under linux). Is there still a
| problem with windows/cygwi
On 8/2/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 8/2/06, John Orr <[EMAIL PROTECTED]> wrote:
> When you type a command in vim that results in text scrolling up the screen -
eg :messages or :registers, you will be hit by one of two comments:
> Press ENTER or type command to continue
>
> OR
>
On 8/2/06, John Orr <[EMAIL PROTECTED]> wrote:
When you type a command in vim that results in text scrolling up the screen -
eg :messages or :registers, you will be hit by one of two comments:
Press ENTER or type command to continue
OR
-- More --
depending upon whether there are more lines to
I wonder if altering the font slightly would help...
On Wed, 2 Aug 2006, James Hales wrote:
When I maximize Gvim in Gnome, the status line is partially hidden by
the gnome panel, which is really annoying. This is because of how Vim
resizes itself, i.e. it is constrained to being resized one cha
Bernd Strohhäcker wrote:
Dr. Johannes Zellner schrieb:
Hi,
having marked a visual block with ctrl-v, I'd like to so a search /
replace only in that visual block. E.g. when selecting the right block
in:
xx xx
xx xx
xx xx
xx xx
I'd to do something like s/xx/yy/g which applies only to the selec
Hi,
I'm wondering if anyone has a good solution to an annoying problem I seem to
cause myself.
When you type a command in vim that results in text scrolling up the screen -
eg :messages or :registers, you will be hit by one of two comments:
Press ENTER or type command to continue
OR
-- More -
Carlos Liu wrote:
On 8/2/06, Tim Chase <[EMAIL PROTECTED]> wrote:
> How to put cursor in the middle of screen when replacing words? I have
> to see the next few lines to know replace or not, but the word always
> sit in the bottom of the screen.
Sounds like you're looking for the 'scrolloff' s
Hi Charles,
Thanks for the response, I have just updated vimball + netrw again...
| >* URLs with question marks in them, like
| >http://www.grida.no/products.cfm?pageID=13
| I just tried it; this appears to work (under linux). Is there still a
| problem with windows/cygwin?
This is still a pro
75 matches
Mail list logo