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, input
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)
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
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
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
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.
Robert
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.
Your
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
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
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 ?
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 method as
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
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, using a
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
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 man page I get this:
Vim: Warning: Output is not to a terminal
Vim:
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-LF - LF,
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
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', first add
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'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
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
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.
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 Message-
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
On Monday 26
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 man page I get this:
Vim: Warning: Output is not to a terminal
Vim:
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
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
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
28 matches
Mail list logo