I'm under Windows XP, and I'm having a devil of a time trying to set
'path' to a bunch of directories in my home directory. My $HOME (and
thus presumably "~") point at c:\Documents and Settings\User\My
Documents\Home. Doing something like
set path=$HOME/src
does not work (e.g., ":find" does not
Kamil Kisiel wrote:
I've started using foldmethod=marker for folding in my C++ source
files. Usually it works okay, but I find that several times a day the
syntax highlighting seems to get confused and start highlighting
braces after a particular fold in red, as if they did not have a
matching br
I've started using foldmethod=marker for folding in my C++ source
files. Usually it works okay, but I find that several times a day the
syntax highlighting seems to get confused and start highlighting
braces after a particular fold in red, as if they did not have a
matching brace. This is never ac
Benji Fisher wrote:
I understand some of what is going on, but not all.
The part I did not snip seems to be where the problem is. When I
try it, I get something similar but with 1323 more lines, presumably the
whole man page, instead of 17 lines.
The GetPage() function is defined
This
$ vim -u NONE
:runtime ftplugin/man.vim
:Man cvs
worked for me, and
:r! man cvs | col -b
failed with my normal .vimrc , so I tracked it down to needing:
set shellxquote=\"
The backslash is required. I had shellxquote=' for other situations.
I seems like I've got some shell comman
On Sun, Jun 25, 2006 at 08:16:54PM -0600, Trent Michael Gamblin wrote:
> I'm having trouble getting the Man command working with Vim. I have the
> line:
>
>runtime ftplugin/man.vim
>
> in my ~/.vimrc. When I type :Man I get this:
>
> >Vim: Warning: Output is not to a terminal
> >Vim: Warni
Marvellous. Thanks again to all who responded.
Steve
> -Original Message-
> From: Michael Naumann
> Sent: Tuesday, 27 June 2006 7:30 AM
> To: vim@vim.org
> Subject: Re: How to replace CR with LF
>
> Yes there is, strange as it may seem:
>
> s/\r/\r/
>
> does it
>
> HTH, Michael
>
>
Yes there is, strange as it may seem:
s/\r/\r/
does it
HTH, Michael
On Monday 26 June 2006 23:20, Steve Baldwin wrote:
> Thanks all. That worked very nicely.
>
> I'm curious though - is there any way to substitute CR with LF using
> regexp's?
>
> Thanks,
>
> Steve
>
> > -Original Messa
On 6/26/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Eric Arnold wrote:
> I was having some problems getting manpageview to work on Windows:
Thank you for the feedback! I'll look into it (I hope) later on my
WinXP machine.
Do you use cygwin?
Yes.
Eric Arnold wrote:
I was having some problems getting manpageview to work on Windows:
Thank you for the feedback! I'll look into it (I hope) later on my
WinXP machine.
Do you use cygwin?
Regards,
Chip Campbell
I'm curious though - is there any way to substitute CR with LF
using regexp's?
You could try the somewhat odd-looking
:%s/\r/\r/g
which has worked in some cases for me...
-tim
Thanks all. That worked very nicely.
I'm curious though - is there any way to substitute CR with LF using
regexp's?
Thanks,
Steve
> -Original Message-
> From: Bill McCarthy
> Sent: Tuesday, 27 June 2006 6:54 AM
> To: Steve Baldwin
> Cc: Vim List
> Subject: Re: How to replace CR with LF
I was having some problems getting manpageview to work on Windows:
For :Man cat I got:
Error detected while processing function 29_ManPageView:
line 282:
E485: Can't read file c:/DOCUME~1/Owner/LOCALS~1/Temp/VIo20F.tmp
Error detected while processing
C:/cygwin/home/Owner/vimfile
On Mon 26-Jun-06 3:06pm -0600, Steve Baldwin wrote:
> I have a file containing carriage returns and I want to
> replace them with line feeds. Note it is not CR-LF -> LF,
> but just CR -> LF. Can someone please enlighten me as to
> how to do this.
If you don't have mac format in your 'ffs', firs
Steve Baldwin wrote:
Dear Guru's,
This is probably a silly question, but I can't work it out :-(
I have a file containing carriage returns and I want to replace them with
line feeds. Note it is not CR-LF -> LF, but just CR -> LF. Can someone
please enlighten me as to how to do this.
Thanks v
On 6/26/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 6/26/06, Steve Baldwin <[EMAIL PROTECTED]> wrote:
> Dear Guru's,
>
> This is probably a silly question, but I can't work it out :-(
>
> I have a file containing carriage returns and I want to replace them with
> line feeds. Note it is not CR
On 6/26/06, Steve Baldwin <[EMAIL PROTECTED]> wrote:
Dear Guru's,
This is probably a silly question, but I can't work it out :-(
I have a file containing carriage returns and I want to replace them with
line feeds. Note it is not CR-LF -> LF, but just CR -> LF. Can someone
please enlighten me
Dear Guru's,
This is probably a silly question, but I can't work it out :-(
I have a file containing carriage returns and I want to replace them with
line feeds. Note it is not CR-LF -> LF, but just CR -> LF. Can someone
please enlighten me as to how to do this.
Thanks very much.
Trent Michael Gamblin wrote:
I'm having trouble getting the Man command working with Vim.
May I suggest trying out manpageview, which implements (IMHO) an
improved :Man command.
Its available at:
http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs (see "Man
Page Viewer")
and at
On Sun, Jun 25, 2006 at 08:16:54PM -0600, Trent Michael Gamblin wrote:
> I'm having trouble getting the Man command working with Vim. I have the
> line:
>
>runtime ftplugin/man.vim
>
> in my ~/.vimrc. When I type :Man I get this:
>
> >Vim: Warning: Output is not to a terminal
> >Vim: Warni
Sorry, when I said I'd put in a "plug" it was kinda pun (i.e.
plug==advertisement) :-)
It is actually a source patch (not a Vim script plugin), which is the
only real way to intercept character events.
You can get it on sourceforge,
http://www.vim.org/scripts/script.php?script_id=1541
but you
Tim Chase wrote:
Yes, I believe that is correct. Actually it might be easier to find if
"snit" is anywhere in the file at the beginning of the line (it will
always be at the beginning) and then adding some extra keywords in to
be colored.
Did I clarify anything? I hope so.
Very much so.
As
Tom Purl wrote:
Tom Purl wrote:
I would like to force Vim to not make backups of files in my wiki
folder,
but still create backups for all of my other docs. I therefore tried
the
following command in my _vimrc:
set backupskip=$HOME/gtd/wiki/*
This, however, didn't work. I also tried quot
Yes, I believe that is correct. Actually it might be easier to find if
"snit" is anywhere in the file at the beginning of the line (it will
always be at the beginning) and then adding some extra keywords in to be
colored.
Did I clarify anything? I hope so.
Very much so.
As described in
> Tom Purl wrote:
> I would like to force Vim to not make backups of files in my wiki
> folder,
> but still create backups for all of my other docs. I therefore tried
> the
> following command in my _vimrc:
>
> set backupskip=$HOME/gtd/wiki/*
>
> This, howev
Tom Purl wrote:
I would like to force Vim to not make backups of files in my wiki
folder,
but still create backups for all of my other docs. I therefore tried
the
following command in my _vimrc:
set backupskip=$HOME/gtd/wiki/*
This, however, didn't work. I also tried quoting the path, usi
>>> I would like to force Vim to not make backups of files in my wiki
>>> folder,
>>> but still create backups for all of my other docs. I therefore tried
>>> the
>>> following command in my _vimrc:
>>>
>>> set backupskip=$HOME/gtd/wiki/*
>>>
>>> This, however, didn't work. I also tried quoti
Yakov Lerner wrote:
There is a file x that is opened in another vim, and
.x.swp file exists.
I have another instance of vim that has many buffers already
open. I want to open file x in this vim readonly,
without the 'E325 Found swapfile' dialog. (like vim -R would,
but without starting new vim
Thanks
Yakov
On 6/26/06, Max Dyckhoff <[EMAIL PROTECTED]> wrote:
If you open the file with :view it will set the readonly buffer option
and not give you that warning. See ":help readonly"
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26,
Tim Chase wrote:
I would like to add additional keywords if the first word or first 4
characters of the statement is "snit".
snit::type dog {
method {tail wag} {} {return "Wag, wag"}
method {tail droop} {} {return "Droop, droop"}
}
Since "snit" is there then I would like to added "me
If you open the file with :view it will set the readonly buffer option
and not give you that warning. See ":help readonly"
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 9:06 AM
> To: Vim List
> Subject: How to open file readonly from
There is a file x that is opened in another vim, and
.x.swp file exists.
I have another instance of vim that has many buffers already
open. I want to open file x in this vim readonly,
without the 'E325 Found swapfile' dialog. (like vim -R would,
but without starting new vim)
How do I do it ?
A.J.Mechelynck wrote:
Tom Purl wrote:
I use the potwiki plugin (which is pretty sweet by the way) to keep a
plain-text wiki on my desktop that I can edit using Vim. All of my
documents are stored under my `$HOME/gtd/wiki` directory.
Occasionally, I need to do a "full-text" search of my wiki pa
Tom Purl wrote:
I use the potwiki plugin (which is pretty sweet by the way) to keep a
plain-text wiki on my desktop that I can edit using Vim. All of my
documents are stored under my `$HOME/gtd/wiki` directory.
Occasionally, I need to do a "full-text" search of my wiki pages, which I
do using t
I would like to add additional keywords if the first word or first 4
characters of the statement is "snit".
snit::type dog {
method {tail wag} {} {return "Wag, wag"}
method {tail droop} {} {return "Droop, droop"}
}
Since "snit" is there then I would like to added "method" as a keyword
I use the potwiki plugin (which is pretty sweet by the way) to keep a
plain-text wiki on my desktop that I can edit using Vim. All of my
documents are stored under my `$HOME/gtd/wiki` directory.
Occasionally, I need to do a "full-text" search of my wiki pages, which I
do using the `vimgrep` comma
On Mon, 26 Jun 2006, Luc Hermitte wrote:
> * On Sun, Jun 25, 2006 at 12:06:51AM +0800, Dr Bean <[EMAIL PROTECTED]> wrote:
> > Another common idiom in perl is q//,qq//,qw//,qr// ...
> The main code is defined in plugin/common_brackets.vim, the filetype
> (C&C++) specializations beeing in ftplugin
I would like to add additional keywords if the first word or first 4
characters of the statement is "snit".
snit::type dog {
method {tail wag} {} {return "Wag, wag"}
method {tail droop} {} {return "Droop, droop"}
}
Since "snit" is there then I would like to added "method" as a keyword.
Agh ...sorry wrong list!
Too distracted by the Australia v's Italy game that is about to start!
Sorry everyone,
Nick
Does it niggle anyone else that there is an inconsistency with
naming Zend_View helper classes?
When subclassing controllers there is the following recommendation
in the m
A.J.Mechelynck wrote:
Robert Hicks wrote:
When I statup Vim I am getting source errors for a syntax file I am
modifying but they go away so fast I cannot read what the errors are.
How do I get Vim to show me those errors?
Robert
:messages
HTH,
Tony.
Thanks, it does.
Robert
Does it niggle anyone else that there is an inconsistency with naming
Zend_View helper classes?
When subclassing controllers there is the following recommendation in
the manual...
-
2.3.2.1. Prefix
Classes included with the Zend Framework follow a convention where
every cl
Robert Hicks wrote:
When I statup Vim I am getting source errors for a syntax file I am
modifying but they go away so fast I cannot read what the errors are.
How do I get Vim to show me those errors?
Robert
:messages
HTH,
Tony.
Hi,
Robert Hicks wrote:
>
> When I statup Vim I am getting source errors for a syntax file I am
> modifying but they go away so fast I cannot read what the errors are.
> How do I get Vim to show me those errors?
:mes
Regards,
Jürgen
--
Jürgen Krämer Softwareen
When I statup Vim I am getting source errors for a syntax file I am
modifying but they go away so fast I cannot read what the errors are.
How do I get Vim to show me those errors?
Robert
Johannes Schwarz wrote:
Hi all,
I want to have mappings for resizing splitted windows.
For increasing and decreasing the width the following mappings are
working:
nmap + >
nmap - <
But the mapping for increasing and decreasing the heights don't work:
nmap +
nmap -
I think I have to esca
Sorry, missed the ?.
gdefault was the problem, it was set in my settings.vim file.
thanks!
Jerin
On 6/26/06, Jürgen Krämer <[EMAIL PROTECTED]> wrote:
Hi,
Jerin Joy wrote:
> > maybe the 'gdefault' option is on. What does
> >
> > :verbose set gdefault?
> > output?
>
> it doesn't output anythi
Hi,
Jerin Joy wrote:
> > maybe the 'gdefault' option is on. What does
> >
> > :verbose set gdefault?
> > output?
>
> it doesn't output anything. Cursor just comes back to the file.
did you enter the question mark after "gdefault"? This is necessary to
query the state of a boolean option.
Mit
maybe the 'gdefault' option is on. What does
:verbose set gdefault?
output?
it doesn't output anything. Cursor just comes back to the file.
Jerin
Regards,
Jürgen
--
Jürgen Krämer Softwareentwicklung
HABEL GmbH & Co. KGmailto:[EMAIL PROT
Hi,
Jerin Joy wrote:
>
> I tried the command with the \s instead of '\ ' and it doesn't work
>
> the command :%s/]\s\+/] /g changed
> task init (input [1:0] u, input [3:0]hash, input [3:0]hash_index1)
>
> to
> task init (input [1:0] u, input [3:0]hash, input [3:0]hash_index1)
Hi,
I tried the command with the \s instead of '\ ' and it doesn't work
the command :%s/]\s\+/] /g changed
task init (input [1:0] u, input [3:0]hash, input [3:0]hash_index1)
to
task init (input [1:0] u, input [3:0]hash, input [3:0]hash_index1)
Could something be hardcoded in
Hi Jerin,
Your regular expression is working fine for me (Vim 7.0).
You can simplify your regular exp. As follows:
:%s/]\s\+/] /g
\s -> whitespaces (includes tab character also)
~Vishnu
-Original Message-
From: Jerin Joy [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 4:48 PM
To
On Mon, Jun 26, 2006 at 04:48:25PM +0530, Jerin Joy wrote:
> The replace all option 'g' doesn't seem to be working in my case. It
> replaces only the first occurrence on a line.
>
> for eg. in the following line I wanted to remove the extra whitespaces
> between input [] and the name of the variab
Hi,
Jerin Joy wrote:
>
> The replace all option 'g' doesn't seem to be working in my case. It
> replaces only the first occurrence on a line.
>
> for eg. in the following line I wanted to remove the extra whitespaces
> between input [] and the name of the variable:
> task init (input [1:0] u,
Hi.
The replace all option 'g' doesn't seem to be working in my case. It
replaces only the first occurrence on a line.
for eg. in the following line I wanted to remove the extra whitespaces
between input [] and the name of the variable:
task init (input [1:0] u, input [3:0]hash, input [3:0
54 matches
Mail list logo