I would like to edit the file syntax cpp.vim and include some new extensions
to highlight. I would like to add these news extension as a vertical list,
and not in the same line.
The normal way:
*syn keyword ITK a b c d e*
The way that I would like to get, using a vertical list
*syn keyword ITK
I would like to highlight 2 o more different syntax in the same file. For
example, I have a file with notes with different languages cpp, matlab,
python, bash and I would like to be able to highlight each syntax with
colors. Any ideas?
--
You received this message from the vim_use maillist.
@ BenSchmidt
So...Is using a scripting language an option? What platform are you on?
What do you have available/installed? Are you willing to investigate
installing something different to perform this task?
*Scriptiling language is an option (python, php), although I have only
experience with
-- DESCRIPTION ---
I would like to write a script with awk or vim to process Lab Blood Tests in
xml format to import with SPSS.
Each blood test is an xml file.
If I have (for example):
1000 Lab Blood Tests (1000 xml files)
250 patients
4 blood tests/patient
Each Blood
the gtkrc should be put, there is a gtk
theme selector on Windows after gtk installed.
Hong Xu
2010/12/21
On 12/21/10, AMDx64BT amdx6...@gmail.com wrote:
Do you know where is the path to copy the gtkrc in windows?
--
You received this message from the vim_use maillist.
Do
I have this command to highlight columns in my vimrc, and I would like to
transform it to modeline:
:au BufWinEnter *.colorize let w:m1=matchadd('ErrorMsg', '\%39v.\%20v',
-1)
I have tried this, but it doesn't work:
vim:match ErrorMsg '\%39v.\%20v'
--
You received this message from the
Do you know where is the path to copy the gtkrc in windows?
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Thanks John Little, good method.
On Dec 3, 9:24 pm, John Little john.b.lit...@gmail.com wrote:
Further to my method above, it can work far faster if you do a
:syntax off
while you're doing it. The syntax highlighting does not perform well
with the very long lines it uses.
Regards, John
I want to order alphabetically folded blocks of text according their
title, but without changing the order of the lines inside the folded
blocks. I want to order the blocks, but not the lines inside.
I am using a vim help file with the following syntax:
vim:ft=help:fdm=expr
Do you know some way to delete all the sentences starting with a lower
case letter?
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
It is possible using this:
:v/^\u/d
But it deletes sentences beginning with capital letters with accents
(french, german). Do you know a way without deleting capital strange
letters?
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are
:%s/\_^\(.\{,40}\n\)\{4,}// works very well. I would like to do
another question.
Could be possible to delete all the sentences 40 characters only
when they are more than 3 times consecutives but now keeping the last
one undeleted of each group. I want to say this:
Begining with this:
Thanks for the solution. It works. I would like to know how I can
delete sentences 40 characters only when they are more than 3 times
consecutives.
For example, with this text:
xx
xx
xx
I want to delete all the lines with long 40 characters (including
white-spaces) and keep the others. Is there any command to do that?
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit
And to keep only the sentences in the range 40-60 characters long and
delete the rest?
On Nov 1, 4:32 am, AMDx64BT amdx6...@gmail.com wrote:
I want to delete all the lines with long 40 characters (including
white-spaces) and keep the others. Is there any command to do that?
--
You received
I want to translate phrases inside vim using google translator.
I have installed the script PA_translator:
http://www.vim.org/scripts/script.php?script_id=2609
But I get this error:
Wait while translating is performing...
Error detected while processing function PA_translate_sentence:
line3:
Solved, I have installed other script: TranslateEnToCn
http://www.vim.org/scripts/script.php?script_id=2996
And works perfect
On Aug 7, 9:55 pm, AMDx64BT amdx6...@gmail.com wrote:
I want to translate phrases inside vim using google translator.
I have installed the script
PA_translator:http
Vim detects the extension .sl as slang filetype. I want that vim
detects the extension .sl as renderman shader lang filetype by
default and not as slang filetype.
I have add to my .vimrc:
au BufRead,BufNewFile *.sl setf sl
But it doesn't work. Do you know any solution?
--
18 matches
Mail list logo