On 8/18/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
Hi,
I often need to place a header above a function defintion (C-source)
fpr documentational purposes.
What I treid is to write a short function for vim, which dioes insert
the text skeleton -- but I did not find any already exis
i use vim on both linux and windows. but i found their indentation
behavior a little differently.
say i was coding a c program on the below line
void foo_fun( int p1
then i press return on linux, the cursor come to a pleasant position,
that became,
void foo_fun( int p1
steven woody wrote:
i use vim on both linux and windows. but i found their indentation
behavior a little differently.
say i was coding a c program on the below line
void foo_fun( int p1
then i press return on linux, the cursor come to a pleasant position,
that became,
void foo_fun( int p1
So basically I have the following in my .vimrc
set listchars=tab:>-,trail:-,eol:$
But it's slightly intrusive in the colour it is at the moment (dark
blue), and I was wondering if there was any easy way to set it to
something less overt, for example dark grey (I use a dark background).
Thanks!
Adam Gray wrote:
So basically I have the following in my .vimrc
set listchars=tab:>-,trail:-,eol:$
But it's slightly intrusive in the colour it is at the moment (dark
blue), and I was wondering if there was any easy way to set it to
something less overt, for example dark grey (I use a dark back
Hi,
I have a lot of source code distributed over a directory hierarchy
structure. I always need to find class declarations, instances where
variables are set etc. Usually I just go to command line and run
something like
find . -name "*.vr" -print | xargs grep 'class foo'
Isn't there an easier wa
Oops, forgot to send this to the list...
On 18/08/06, Jerin Joy <[EMAIL PROTECTED]> wrote:
Hi,
I have a lot of source code distributed over a directory hierarchy
structure. I always need to find class declarations, instances where
variables are set etc. Usually I just go to command line and run
On 8/18/06, Jerin Joy <[EMAIL PROTECTED]> wrote:
Hi,
I have a lot of source code distributed over a directory hierarchy
structure. I always need to find class declarations, instances where
variables are set etc. Usually I just go to command line and run
something like
find . -name "*.vr" -print
Hi!
I ran across a problem today where I could not enter 2 ">" characters in a
row into a KSH script I was editing. You could enter the first one, then
the screen would "flash" and repaint itself, then you could type any other
character except a ">". I had to enter a space than the 2nd ">", then
d
Jerin Joy wrote:
Hi,
I have a lot of source code distributed over a directory hierarchy
structure. I always need to find class declarations, instances where
variables are set etc. Usually I just go to command line and run
something like
find . -name "*.vr" -print | xargs grep 'class foo'
Isn't
Alan G Isaac wrote:
On Mon, 31 Jul 2006, (BST) Georg Dahn apparently wrote:
I personally need Latin only and use Consolas:
http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en
which (IMHO) is a great font.
"This package is only intended
Hi,
How do I open a new file in a new tab, but in the read only mode.
:tabedit -R file_name
Does not seem to work.
Thanks
Shankar
David Venus wrote:
Hi!
I ran across a problem today where I could not enter 2 ">" characters in a
row into a KSH script I was editing. You could enter the first one, then
the screen would "flash" and repaint itself, then you could type any other
character except a ">". I had to enter a space tha
Hi,
SHANKAR R-R66203 wrote:
>
> How do I open a new file in a new tab, but in the read only mode.
>
> :tabedit -R file_name
>
> Does not seem to work.
:tab sview file_name
Regards,
Jürgen
--
Jürgen Krämer Softwareentwicklung
HABEL GmbH & Co. KG
SHANKAR R-R66203 wrote:
Hi,
How do I open a new file in a new tab, but in the read only mode.
:tabedit -R file_name
Does not seem to work.
Thanks
Shankar
:tab sview foobar.txt
see
:help :tab
:help :sview
Best regards,
Tony.
Georg Dahn wrote:
I am not sure, if they have CJK included yet, but
http://dejavu.sourceforge.net/wiki/index.php/Main_Page
is a set of Unicode fonts which are being worked at intensely.
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
As I already mentioned, on Windows I use Courier_New for Russ
Jerin Joy wrote:,
I have a lot of source code distributed over a directory hierarchy
structure. I always need to find class declarations, instances where
variables are set etc. Usually I just go to command line and run
something like
find . -name "*.vr" -print | xargs grep 'class foo'
Isn't th
Jerin Joy wrote:
Hi,
I'll try the ctags. Both vera and verilog are supported. I'm running
vim 6.4 so no vimgrep. Can't change it since I work on a remote login.
thanks,
Jerin
You can still invoke grep from Vim 6.4 (since you have an external grep
program installed): see ":help :grep". Tags
On Fri, Aug 18, 2006 at 04:44:26AM +0200, Meino Christian Cramer wrote:
> Hi,
>
> I often need to place a header above a function defintion (C-source)
> fpr documentational purposes.
>
> What I treid is to write a short function for vim, which dioes insert
> the text skeleton -- but I did not
On Fri, Aug 18, 2006 at 10:36:32AM +0200, A.J.Mechelynck wrote:
> steven woody wrote:
> >i use vim on both linux and windows. but i found their indentation
> >behavior a little differently.
> >
> >say i was coding a c program on the below line
> >
> >void foo_fun( int p1
> >
> >then i press return
steven woody wrote:
On 8/18/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
steven woody wrote:
> i use vim on both linux and windows. but i found their indentation
> behavior a little differently.
>
> say i was coding a c program on the below line
>
> void foo_fun( int p1
>
> then i press return
SHANKAR R-R66203 wrote:
How do I open a new file in a new tab, but in the read only mode.
:tabedit -R file_name
Does not seem to work.
Why would you think it would? I see no mention of a "-R" modifier for
tabedit. Here's the
help for tabedit:
:tabe[dit] *
A.J.Mechelynck wrote:
P.S. I'm no Vim official, just a user like you. Next time, please use
"reply to all" rather than "reply to sender" so the list gets it and,
if e.g. I've gone to bed, someone else can reply.
But, Anthony -- you get paid the top salary available for Vim mailing
list per
But, Anthony -- you get paid the top salary available for Vim mailing
list personnel! :)
Of course, it's probably a bit difficult to buy a cup of coffee with it...
And you're both still making twice my vim mailing-list salary! :)
-a mock-disgruntled tim
Charles E Campbell Jr wrote:
A.J.Mechelynck wrote:
P.S. I'm no Vim official, just a user like you. Next time, please use
"reply to all" rather than "reply to sender" so the list gets it and,
if e.g. I've gone to bed, someone else can reply.
But, Anthony -- you get paid the top salary avail
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function call ?
Date: Fri, 18 Aug 2006 07:29:05 +0200
> Meino Christian Cramer wrote:
> > Hi,
> >
> > I often need to place a header above a function defintion (C-source)
> > fpr documentational purposes.
> >
From: "Marius Roets" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function call ?
Date: Fri, 18 Aug 2006 09:52:42 +0200
> On 8/18/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I often need to place a header above a function defintion (C-source)
> > fpr d
>I have a need to use '/' to find something in a file, but I wish it
>to ignore case.
>So say I'm looking for 'foo' then I want to find all instances for
>'foo' and 'FOO'
Can try
:set ignorecase
or
:set ic
to do so. Former will almost always work, latter works on some variants
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function call ?
Date: Fri, 18 Aug 2006 07:29:05 +0200
Meino Christian Cramer wrote:
Hi,
I often need to place a header above a function defintion (C-source)
fpr documentationa
On Wed, 9 Aug 2006, Bob Hiestand apparently wrote:
> http://vim.sourceforge.net/scripts/script.php?script_id=90
I see that many people are liking this plugin.
Could you please add a few details about how it works
and why it is better than just using the SVN executables.
Thank you,
Alan Isaac
I am using this commenting mapping to place /* */ around text:
map :s/^\(.*\)$/\/\* \1 \*\//:nohls
However, I would like it be tighter, meaning that instead of
/* blah blah blah */
I would like to see
/* blah blah blah */
Is there a way to do this?
DVM
I use the :gwap command a lot. I'd like to fine-tune it.
Can the following be done? I'd like to reformat only those
lines with the same indentation (and keep the indent).
I tend to write a lot of HTML and documentation
with indented blocks. For example:
hive.py
This script creates SSH connect
I am using this commenting mapping to place /* */ around text:
map :s/^\(.*\)$/\/\* \1 \*\//:nohls
However, I would like it be tighter, meaning that instead of
/* blah blah blah */
I would like to see
/* blah blah blah */
Is there a way to do this?
DVM
Depending on how you inde
On 2006-08-18, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> Jerin Joy wrote:,
>
> >
> > I have a lot of source code distributed over a directory hierarchy
> > structure. I always need to find class declarations, instances where
> > variables are set etc. Usually I just go to command line and
Piqued my curiosity, asked around, got back this as a possible
explanation:
See http://www.us.sorbs.net/faq/spamdb.shtml
I have *no* idea who Joey McNichols be, or why he needs a legal defense,
etc., but it seems as though the whole SORBS thing might be on the
up-and-up, if unpopular o th
Try this:
set fo+=w and then leave no white space after your
outdented header. Then you can gwap to your hearts
content.
Not quite what you asked for ...
hth,
Alan Isaac
On 8/18/06, Noah Spurrier <[EMAIL PROTECTED]> wrote:
I use the :gwap command a lot. I'd like to fine-tune it.
Can the following be done? I'd like to reformat only those
lines with the same indentation (and keep the indent).
[...]
I'm sure it could be scripted up fairly easily. In the meantime
>>Piqued my curiosity, asked around, got back this as a possible
>>explanation:
>>
>> See http://www.us.sorbs.net/faq/spamdb.shtml
>>
>>I have *no* idea who Joey McNichols be, or why he needs a legal
defense,
>>etc., but it seems as though the whole SORBS thing might be on the
>>up-and-up, if
Gary Johnson wrote:
On 2006-08-18, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Read :help netrw-starstarpat :
:Explore **//class foo
for example. You'll be presented with an netrw browser display in each
subdirectory
with matching files and the cursor on the first file that matc
On 2006-08-18, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> Gary Johnson wrote:
>
> > On 2006-08-18, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Read :help netrw-starstarpat :
> >>
> >> :Explore **//class foo
> >>
> >> for example. You'll be presented with an netrw b
Gary Johnson wrote:
Thanks. That removes the error and gives me a list of files, but
included in that list are non-*.c names such as
INSTALL
Makefile
README.txt
:Explore **/*.c doesn't give a list of just *.c files. Instead, it
opens a browser listing of every directory
wit
On 2006-08-18, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> Gary Johnson wrote:
>
> >
> > Thanks. That removes the error and gives me a list of files, but
> > included in that list are non-*.c names such as
> >
> >INSTALL
> >Makefile
> >README.txt
> >
> >
>
> :Explore **/*.c
On Fri, Aug 18, 2006 at 02:12:19PM EDT, Alan G Isaac wrote:
> Try this:
> set fo+=w and then leave no white space after your
> outdented header. Then you can gwap to your hearts
> content.
>
> Not quite what you asked for ...
>
I realize that this is not what you asked f
On Fri, 18 Aug 2006, apparently wrote:
> but what is this
> gwap (or :gwap ..) command?
> Seems it is not recognized by Vim 6.3
:h gw
Enjoy.
Alan Isaac
Hi all
The wikipedia entry for the Korn shell
http://en.wikipedia.org/wiki/Korn_shell has a tantalizing
parenthetical note:
ksh93s will add a 4th vim mode
Googling for ksh93s + vim only finds the wikipedia article, or copies
of it, and ksh93 + "vim mode" the same, and ksh93 + vim nothing I
Only recently did I read the vim manual for command line completion. In
the documentation, I found that the following is a handy way to open a
file when using the :e command.
1. Type :e followed with a space.
2. Type the first a few characters of the file you want to edit.
3. Press CTRL-L. Vim wil
On Fri, Aug 18, 2006 at 08:12:01PM EDT, Alan G Isaac wrote:
> On Fri, 18 Aug 2006, apparently wrote:
> > but what is this
> > gwap (or :gwap ..) command?
> > Seems it is not recognized by Vim 6.3
>
> :h gw
>
guess what .. I was mistyping it ..
.. something like gwa- I guess ..
didn't realiz
On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote:
> I there a way I can enter effortlessly stuff like the following:
>
> 1. this is a numbered paragraph several lines long and I would like all
> lines aligned with the "this" which starts in column 4. I don't know if
> it's good typography but I
On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote:
> For bulleted lists using '-',
>
> set com+=fb:-
>
> or '*',
>
> set com+=fb:*
>
> but those should already be part of the default 'comments' option
> unless you have changed it.
I just checked again. "fb:-" is there by default;
Fan Decheng wrote:
Only recently did I read the vim manual for command line completion. In
the documentation, I found that the following is a handy way to open a
file when using the :e command.
1. Type :e followed with a space.
2. Type the first a few characters of the file you want to edit.
3.
On Sat, Aug 19, 2006 at 12:15:10AM EDT, Gary Johnson wrote:
> On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote:
>
[help creating numbered and bulleted lists in Vim]
>
> For numbered lists,
>
> set fo+=n
>
> For bulleted lists using '-',
>
> set com+=fb:-
>
> or '*',
>
> set com+=
On Sat, Aug 19, 2006 at 12:22:56AM EDT, Gary Johnson wrote:
> On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote:
>
> > For bulleted lists using '-',
> >
> > set com+=fb:-
> >
> > or '*',
> >
> > set com+=fb:*
> >
> > but those should already be part of the default 'comments' option
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function call ?
Date: Fri, 18 Aug 2006 18:05:13 +0200
> Meino Christian Cramer wrote:
> > From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
> > Subject: Re: How to insert text via script/function call ?
> > Date: Fri, 1
On Sat, 19 Aug 2006 at 8:37am, Fan Decheng wrote:
> Only recently did I read the vim manual for command line completion. In
> the documentation, I found that the following is a handy way to open a
> file when using the :e command.
>
> 1. Type :e followed with a space.
> 2. Type the first a few ch
cga2000 wrote:
On Sat, Aug 19, 2006 at 12:22:56AM EDT, Gary Johnson wrote:
On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote:
For bulleted lists using '-',
set com+=fb:-
or '*',
set com+=fb:*
but those should already be part of the default 'comments' option
unless you have chan
On 2006-08-19, cga2000 <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 19, 2006 at 12:15:10AM EDT, Gary Johnson wrote:
> > On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote:
> >
> [help creating numbered and bulleted lists in Vim]
> >
> > For numbered lists,
> >
> > set fo+=n
> >
> > For bulleted l
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function call ?
Date: Fri, 18 Aug 2006 18:05:13 +0200
Meino Christian Cramer wrote:
From: "A.J.Mechelynck" <[EMAIL PROTECTED]>
Subject: Re: How to insert text via script/function
57 matches
Mail list logo