* Gautam Iyer gautam@ [070222 11:42]:
Anyways, following suggestions from this thread I made the following
modifications:
Well, I'd also suggested to split it to many different files:
syntax/c.vim
syntax/c/ansi.vim
syntax/c/susv3.vim
syntax/c/xlib.vim
...
with something like
if
On 2/21/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
So? What exactly are you trying to do? How does it fail?
Say for example, after editing the tex file I try to run :!xdvi %.dvi
, then nothing happens, no errors. If I remove , I can open it.
Basically I can run background process in vim,
I am trying to syntax highlight a file containing one very long line.
(A machine generated chunk of ascii that needs to be visually checked
when an error occurs.)
The highlighting works up to about a screens worth of text (~2400 char),
but stops highlighting well before the end of the line.
Sam Halperin wrote:
I am trying to syntax highlight a file containing one very long line.
(A machine generated chunk of ascii that needs to be visually checked
when an error occurs.)
The highlighting works up to about a screens worth of text (~2400
char), but stops highlighting well before
From: A.J.Mechelynck, Thu, February 22, 2007 4:08 pm
Steve Hall has taken up the flame: his Vim-without-Cream
distributions for W32, which are reasonably up-to-date (currently
7.0.191) can be found at
https://sourceforge.net/project/showfiles.php?group_id=43866package_id=39721
Hmm?
/me
Tony Mechelynck wrote:
I was surprised to notice that the Vim download page
http://vim.sourceforge.net/download.php still mentions my site as where to
find patched W32 Vim binaries. The latest ones I built were 6.4 and 7.0aa
versions, now long outdated. Steve Hall has taken up the flame:
Gautam Iyer wrote:
On Thu, Feb 22, 2007 at 01:47:07AM +0300, Alexey I. Froloff wrote:
I find it useful to have standard functions and constants in C
libraries highlighted. I attach syntax files for this purpose.
Check out the std_c syntax, http://www.eandem.co.uk/mrw/vim/syntax/
Kamaraju S Kusumanchi wrote:
consider
$ cat file.c
/* kamaraju
* kamaraju
* kamaraju
*/
kamaraju
I use konsole with black background and white foreground on Debian Etch,
vim 7.0.122
$ cat .vimrc
set hls
syn enable
With this configuration, if I do
set background=dark
Pádraig Brady wrote:
[...]
I don't see the issue. hls will just invert the fg bg colours.
So if you can it fine unhighlighted, the invert should be OK too?
Can you describe the colours you see (or better yet take a screenshot)
I use vim on dark terminals exclusively and have tweaked things a
A.J.Mechelynck wrote:
I think you're confusing 'hlsearch' with 'incsearch'.
Yes I was sorry. I see the prob now.
gray on brown is not easy to read.
Pádraig.
Hello,
I now use vim 7 for DOS batching in WinXP.
If I use umlaut (äöüß) in vim 7, it is displayed correctly.
But vim 7 saves the buffer using the Windows Codepage, like gvim does!
The buffer content is the same when saved by gvim and vim.
So I cannot i.e. correctly display (echo) text with
Hi,
I have a C++ project in some dir say project or its subdir. Although
I can use find and grep outside vim to search for any word in
project. But this is not very convenient.
I want to do the search in vim. And vim should give me a list of all
the occurrences of the searched word. Then I can
as a command, so I'd just 'v' the pathname to highlight it,
control-insert it to yank it into the clipboard(?), then do
:s@sh-ins@@g
ie, use shift-insert to paste the path directly into the command.
is that any help, or were you referring to something different?
Unless I'm mistaken, these are
On 2/22/07, Thomas Michael Engelke [EMAIL PROTECTED] wrote:
2007/2/21, Yakov Lerner [EMAIL PROTECTED]:
On 2/21/07, Thomas Michael Engelke [EMAIL PROTECTED] wrote:
I'm using vim7 from my Total Commander under Windows XP with the
following command line:
vim70\gvim.exe --remote-tab-silent
* Peng Yu [2007.02.22 11:15]:
I have a C++ project in some dir say project
or its subdir. Although I can use find and grep
outside vim to search for any word in project.
But this is not very convenient.
Well you can use an external grep from within vim.
One advantage is that it's relatively
Peng Yu [EMAIL PROTECTED] said:
Hi,
I have a C++ project in some dir say project or its subdir. Although
I can use find and grep outside vim to search for any word in
project. But this is not very convenient.
I want to do the search in vim. And vim should give me a list of all
the
On 2/22/07, Jean-Rene David [EMAIL PROTECTED] wrote:
* Peng Yu [2007.02.22 11:15]:
I have a C++ project in some dir say project
or its subdir. Although I can use find and grep
outside vim to search for any word in project.
But this is not very convenient.
Well you can use an external grep
Alan G Isaac a écrit :
Single character literals are not handled correctly:
for example, ``x`` will product highlighting of the
subsequent text.
Cheers,
Alan Isaac
Hi Alan,
Mine is havingno problem at all :
see the screenshot here : h**p://kib2.free.fr/temp/reST.png
* Peng Yu [2007.02.22 16:15]:
I read the help. But I still don't see how to search in all the *.h
and *.cc in a certain directory. Do I have to rely on the external
command find?
It would help if you told us what version of vim
you use and what you tried.
If you have vim 7, you can use:
* Swaroop C H ([EMAIL PROTECTED]) wrote:
could you please convert a few tips using your script and them
post them on the wiki? I would love to see the final output.
A heads up ... the script isn't working for other tips, I'll try to
polish the script in the morning (well, it's 2 am here).
[EMAIL PROTECTED] wrote:
Hello,
I now use vim 7 for DOS batching in WinXP.
If I use umlaut (äöüß) in vim 7, it is displayed correctly.
But vim 7 saves the buffer using the Windows Codepage, like gvim does!
The buffer content is the same when saved by gvim and vim.
So I cannot i.e. correctly
Alan G Isaac a écrit :
Single character literals are not handled correctly:
for example, ``x`` will product highlighting of the
subsequent text.
On Thu, 22 Feb 2007, apparently wrote:
Mine is havingno problem at all :
see the screenshot here : h**p://kib2.free.fr/temp/reST.png
I do
I often times rename a file that I'm working on after I realize (or
am told ;) that renaming it is in order. Is there any way I can take
the changes to that new file from the buffer along with the new name?
thanks!
-lev
On Thu, 22 Feb 2007, Lev Lvovsky apparently wrote:
I often times rename a file that I'm working on after I realize (or
am told ;) that renaming it is in order. Is there any way I can take
the changes to that new file from the buffer along with the new name?
:h :saveas
hth,
Alan Isaac
Alan G Isaac a écrit :
I do not see a **single** character literal in that shot.
Cheers,
Alan Isaac
You said for example :``x`` so I posted ``foobar`` witch is highlighted
in red.
Now, I've made another one :
h**p://kib2.free.fr/temp/reST2.png
Is this good ?
Peng Yu wrote:
On 2/22/07, Jean-Rene David [EMAIL PROTECTED] wrote:
* Peng Yu [2007.02.22 11:15]:
I have a C++ project in some dir say project
or its subdir. Although I can use find and grep
outside vim to search for any word in project.
But this is not very convenient.
Well you can use an
On Fri, 23 Feb 2007, apparently wrote:
kib2.free.fr/temp/reST2.png
No that does not do it.
Copy this entire *line*: ``x`` is the problem.
Cheers,
Alan Isaac
Alan G Isaac a écrit :
On Fri, 23 Feb 2007, apparently wrote:
kib2.free.fr/temp/reST2.png
No that does not do it.
Copy this entire *line*: ``x`` is the problem.
Cheers,
Alan Isaac
Ok Alan, I saw the problem now : confirmed.
I'll try to look at the regexps when I find the time
Fantastic! I pasted this as-is into the wiki and here are the results:
* http://code.google.com/p/vimtips/wiki/1504_External_commands_on_Windows
We need to replace the code tags with triple braces as a start. Also,
we may want to add bullet points to the metadata fields.
Here's a reference
Dear list,
First of all, this is a great mailing list ! I am learning lot.
So here is my question. I have a bibliography in a .bib file, which
(just in case) is just a plain text files containing entries that each
look like this :
@article{key,
author = {Whatshisname, J.},
title = {My
in debian based linux distros, you can type the following..
apt-get install program
...and the system will download the appropriate files to install that program
does vim offer anything like this? if not how hard would this be to implement?
On 2/23/07, Simon Jackson [EMAIL PROTECTED] wrote:
in debian based linux distros, you can type the following..
apt-get install program
...and the system will download the appropriate files to install that program
does vim offer anything like this? if not how hard would this be to implement?
Vincent Beffara wrote:
Dear list,
First of all, this is a great mailing list ! I am learning lot.
So here is my question. I have a bibliography in a .bib file, which
(just in case) is just a plain text files containing entries that each
look like this :
@article{key,
author =
Simon Jackson wrote:
in debian based linux distros, you can type the following..
apt-get install program
...and the system will download the appropriate files to install that
program
does vim offer anything like this? if not how hard would this be to
implement?
IIUC, apt-get is a
I added your script to the project's SVN repository:
* http://code.google.com/p/vimtips/source
We now have a total number of *three* scripts that could possibly convert
the tips. Thanks a ton to Dr. Chip, Swaroop, and Ali for contributing
scripts!
I really think that this should be enough
On 2/22/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
1) add a sort key in front of each line
For this I think is more fast and easily (but no so safe) to use
global to remove the linebreaks and substiture it for something else
like a ¬ and put the the key in front like Tony proposed and sort
Hi Dear community,
Command o and O create new line and switch to insert mode. I want only
insert blank line and stay in normal mode. I know this problem can be
solved using simple mappting, but maybe in vim there are original
commands for this tip?
Thanks a lot
--
Alexey Vakhov mailto:[EMAIL
Hi All,
I want to add simple code snippets. For example if I press CR{ I
want to extend this to
{
--- cursor
}
How can I make this by simplest way?
Thanks.
--
Alexey Vakhov mailto:[EMAIL PROTECTED]
Hi All,
One question more ) Can i highlight words using for example ctags file
and highlight wrong identifier like Visual Assist in Visual Studio.
Thanks.
--
Alexey Vakhov mailto:[EMAIL PROTECTED]
39 matches
Mail list logo