Hi,
Is this possible to add .xht and .xhtml file extensions for xhtml
filetype detection?
Sylvain
On Sun, 25 Feb 2007, Sylvain Bertrand wrote:
Hi,
Is this possible to add .xht and .xhtml file extensions for xhtml
filetype detection?
Yes, see :help new-filetype.
I think this should be added to the Vim distribution, and often wonder
how it got left out of Vim7.
- Christian
--
I did add support for those extensions manually in file in filetype.vim.
I wonder the same thing than you. Maybe in the next patchset if we
reach the top devs.
Sylvain
2007/2/25, Christian J. Robinson [EMAIL PROTECTED]:
On Sun, 25 Feb 2007, Sylvain Bertrand wrote:
Hi,
Is this possible to
G'day folks,
In the following sample string:
{pre{contained}post}
the right brace after contained is not highlighted when using these
syntax commands.
syn region foo1 matchgroup=foo2 start={ end=} contains=foo3
syn region foo3 start={ end=} transparent contained
hi def link foo1 Constant
hi
Tony Mechelynck wrote:
When cycling through matches using :cnext, if there are several matches in
a
single long line, the line is only shortened the first time (but _not_ the
2nd, 3rd, etc.,) to avoid a Hit-Enter prompt.
Reproducible: every time.
Steps to reproduce:
1. :set wrap
Michael Wookey wrote:
Michael Wookey wrote:
One bug that I didn't fix. Build gvim.exe with OLE=no, run 'gvim
- register', and watch it crash while trying to display an error
message.
This seems to fix the bug...
Index: src/message.c
Basti Grembowietz wrote:
Hi vim-developers!
I have a small bug-report with including fix.
WHAT:
On my home PC the saving of a file always raised two E54 warnings.
Yesterday this was annoying to much (having to press some key before
working on normally, so I investigated a bit.
Nathan Coulter wrote:
bug report
==
version:
VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43)
MS-Windows 32 bit GUI version with OLE support
problem:
Writing to a file on a windows share where the underlying filesystem
supports
Doug Kearns wrote:
In the following sample string:
{pre{contained}post}
the right brace after contained is not highlighted when using these
syntax commands.
syn region foo1 matchgroup=foo2 start={ end=} contains=foo3
syn region foo3 start={ end=} transparent contained
hi def
Christian J. Robinson wrote:
On Sun, 25 Feb 2007, Sylvain Bertrand wrote:
Hi,
Is this possible to add .xht and .xhtml file extensions for xhtml
filetype detection?
Yes, see :help new-filetype.
I think this should be added to the Vim distribution, and often wonder
how it got
On 2/25/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
Christian J. Robinson wrote:
On Sun, 25 Feb 2007, Sylvain Bertrand wrote:
Hi,
Is this possible to add .xht and .xhtml file extensions for xhtml
filetype detection?
Yes, see :help new-filetype.
I think this should be added to the
Hi,
For infos:
If I open file.html (with xhtml content) using firefox 2.0.0.2, the
document will have the text/html mime type which is wrong following
the guidelines of the following document:
http://www.w3.org/TR/xhtml-media-types/
If I open file.xhtml, the document will have the text/xhtml+xml
Dnia poniedziałek 26 luty 2007, Bram Moolenaar napisał:
Apparently nobody noticed them. Are *.xht and *.xhtml widely used for
XHTML?
Spotted .xhtml several times, never saw .xht .
m.
On 2/25/07, Pavel Shevaev [EMAIL PROTECTED] wrote:
:h :saveas
BTW, is it possible somehow to rename file not save as?
Here is user-defined RENAME command that seems to work:
:command! -narg=1 RENAME if rename(expand('%'),q-args)==0|file
args|else| echo Renaming error| endif
The :rename
On Sun, 25 Feb 2007 10:06:18 +0300, Pavel Shevaev
[EMAIL PROTECTED] wrote:
:h :saveas
BTW, is it possible somehow to rename file not save as?
If you mean is it possible to change the name of a buffer without
actually saving anything, then the answer is yes. Use
:f new-file-name
The
New version of tellenc is uploaded at
http://wyw.dcweb.cn/download.asp?path=file=tellenc.zip.
On 2/25/07, Yongwei Wu [EMAIL PROTECTED] wrote:
- Most high character followed by a low character: latin1
This may depend on the language: IIUC, the sequences ää öö are very common in
Finnish, çà
Here is user-defined RENAME command that seems to work:
:command! -narg=1 RENAME if rename(expand('%'),q-args)==0|file
args|else| echo Renaming error| endif
Thanks! I'll give it a try...
The :rename command is in the todo list. (':help todo', search for :rename).
Oh, i see, kudos to
Tom Flynn wrote:
I watched and enjoyed it as well. Though I had a quick question. Towards
the end, during the question and answer session, you mentioned that you had
worked on integration with gdb at some point. You went so far as to
type-out the web-address of the project. However, the
Folks, sorry if this topic was already discussed for too many times
but i couldn't google anything useful :(
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just
Hi list,
Where are the separators defined for the star key? I mean if I press
star in a C file or in a python file the star key will highlight the
word under the cursor but the way it expands to a full word is
different. For instance if I have
int main( int argc, char **argv )
in a C file and
On niedziela 25 luty 2007, vim@vim.org wrote:
Hi list,
Where are the separators defined for the star key? I mean if I press
:help 'iskeyword'
m.
On 2/25/07, Tim Chase [EMAIL PROTECTED] wrote:
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just missing something?
Just missing the power of the
On 2/25/07, Pavel Shevaev [EMAIL PROTECTED] wrote:
On 2/25/07, Tim Chase [EMAIL PROTECTED] wrote:
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just missing
When vim is given 500 file arguments, it opens only
the first one. Regarding the other 499 files, it just
remembers the names, for the beginning, so you see the first tfile very quicky.
Only when you explicitly visit/open some of the other files, vim
will actually read its contents. Just try it
On 2/25/07, Pavel Shevaev [EMAIL PROTECTED] wrote:
When vim is given 500 file arguments, it opens only
the first one. Regarding the other 499 files, it just
remembers the names, for the beginning, so you see the first tfile very
quicky.
Only when you explicitly visit/open some of the other
Pavel Shevaev wrote:
On 2/25/07, Tim Chase [EMAIL PROTECTED] wrote:
Grepping for something seems to be trivial with :vimgrep and :grep but
there's nothing simple like this for 'searchreplace' and i wonder
why... Is it done intentionally or i'm just missing something?
Just missing the power
Hi all,
A new version (4.3) of the taglist plugin is available now. You can download
this version from:
http://vim.sourceforge.net/scripts/script.php?script_id=273
The taglist plugin is a source code browser plugin for Vim. For more
information about this plugin, visit
Daniel Nogradi wrote:
Hi list,
Where are the separators defined for the star key? I mean if I press
star in a C file or in a python file the star key will highlight the
word under the cursor but the way it expands to a full word is
different. For instance if I have
int main( int argc, char
I do think that we can do the addition of new people who want to be
able to edit the wiki manually. That should also filter out the
spammers. There is only a delay between wanting to edit the wiki and
being able to do it the first time. Not perfect, but it's something
that we can setup
Hi,
Could someone more experienced help me out with the project plugin,
please? I use it for work with ruby on rails. During the work I use
rails scripts to generate new files and occasionally directories
within the project structure.
When I try to refresh the project (bound to \R command by
Hi list,
Where are the separators defined for the star key? I mean if I press
star in a C file or in a python file the star key will highlight the
word under the cursor but the way it expands to a full word is
different. For instance if I have
int main( int argc, char **argv )
in a C
On Sun, Feb 25, 2007 at 10:41:16AM +0800, Edward L. Fox wrote:
Hi
Sorry I sent you a private mail, but you never know it they arrive
or land in somekind of spam-filter.
the patch is attached here:
it's just adding these colors:
http://www.calmar.ws/vim/256-terminal-24bit-color-chart.html
How do I configure Gvim so that the current directory
follows the active document?
I know I've seen this somewhere in the Vim docs, but
none of my searches are turning it up now.
When I'm editing a document in Gvim,
I find that Gvim always uses my home directory as the working directory.
If I
On Sun 25-Feb-07 6:22pm -0600, Noah Spurrier wrote:
How do I configure Gvim so that the current directory
follows the active document?
Try this:
autocmd BufReadPost * lcd %:h
--
Best regards,
Bill
Hello,
e.g. I have a text file:
--
some_very_long_string
some_another_long_string
...
--
I want to type some_very_long_string(some_another_long_string).
Now I type 'some_very' and hit ctrl-p to complete it. After that I
type '(' then 'some_another' and I hit ctrl-p again. Without leaving
the
On Sun, Feb 25, 2007 at 06:50:41PM -0600, Bill McCarthy wrote:
On Sun 25-Feb-07 6:22pm -0600, Noah Spurrier wrote:
How do I configure Gvim so that the current directory
follows the active document?
Try this:
autocmd BufReadPost * lcd %:h
You could also try :set autochdir, see :help
Noah Spurrier wrote:
How do I configure Gvim so that the current directory
follows the active document?
I know I've seen this somewhere in the Vim docs, but
none of my searches are turning it up now.
When I'm editing a document in Gvim,
I find that Gvim always uses my home directory as the
Bernhard Walle wrote:
Hello,
e.g. I have a text file:
--
some_very_long_string
some_another_long_string
...
--
I want to type some_very_long_string(some_another_long_string).
Now I type 'some_very' and hit ctrl-p to complete it. After that I
type '(' then 'some_another' and I hit ctrl-p
Tom Purl
I do think that we can do the addition of new people who want
to be able to edit the wiki manually. That should also filter
out the spammers. There is only a delay between wanting to
edit the wiki and being able to do it the first time. Not
perfect, but it's something
is there something similar to 'dw' that would delete an entire tag and
its contents or one just to delete the opening of a tag (just p
instead of psome text/p?
On 25Feb2007 22:19, Simon Jackson [EMAIL PROTECTED] wrote:
| is there something similar to 'dw' that would delete an entire tag and
| its contents or one just to delete the opening of a tag (just p
| instead of psome text/p?
The first requires counting nested tags - beyod my ken.
The second:
Simon Jackson wrote:
is there something similar to 'dw' that would delete an entire tag and
its contents or one just to delete the opening of a tag (just p
instead of psome text/p?
AFAIK, there is no single command to do this, but you can make one as a mapping:
1. Install the matchit plugin:
I don't know if this is a bug, so for now I'm going to post it on this
list. Maybe I'm just using the wrong option.
I'm using the BufReadPost au to echo the filename to screen, but this
is causing visual artifacts when I change buffers: some of the
characters from the previous buffer appear in
Hi Tony,
That helped me a lot. Thanks, though a bit late.
On 2/20/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Jeenu V wrote:
I'm using ctags and I want to do case less matching for tags. I tried
setting the 'ignorecase' and 'infercase', but that doesn't give me the
actual tag I need to
Benjamin McMillan wrote:
I don't know if this is a bug, so for now I'm going to post it on this
list. Maybe I'm just using the wrong option.
I'm using the BufReadPost au to echo the filename to screen, but this
is causing visual artifacts when I change buffers: some of the
characters from the
Hi Bram,
My test shows when I use ++enc to open a file in GB18030, Vim uses
CP936, which is not correct. GB18030 is a 1, 2, or 4 byte encoding,
while CP936 is a 1 or 2 byte encoding. The iconv on my system works
correctly.
I test with gVim 7.0.201 on Windows XP.
Please check.
Thanks.
Best
On Sun, 25 Feb 2007 18:57:00 -0800, Suresh Govindachar
[EMAIL PROTECTED] said:
What is wrong with just having a visual image based manual check
as the last step of editing a wiki page? (I hope you know what I
mean by visual image based manual check -- it is the scheme in
which the
On Sun, 25 Feb 2007 15:43:06 -0600 (CST), Tom Purl [EMAIL PROTECTED]
said:
I do think that we can do the addition of new people who want to be
able to edit the wiki manually. That should also filter out the
spammers. There is only a delay between wanting to edit the wiki and
being able
On Sun, 25 Feb 2007 23:06:54 -0800, Denis Perelyubskiy
[EMAIL PROTECTED] said:
On Sun, 25 Feb 2007 15:43:06 -0600 (CST), Tom Purl [EMAIL PROTECTED]
said:
I do think that we can do the addition of new people who want to be
able to edit the wiki manually. That should also filter out the
Hi Bram,
On 2/26/07, Yongwei Wu [EMAIL PROTECTED] wrote:
Hi Bram,
My test shows when I use ++enc to open a file in GB18030, Vim uses
CP936, which is not correct. GB18030 is a 1, 2, or 4 byte encoding,
while CP936 is a 1 or 2 byte encoding. The iconv on my system works
correctly.
I test with
Yongwei Wu wrote:
Hi Bram,
On 2/26/07, Yongwei Wu [EMAIL PROTECTED] wrote:
Hi Bram,
My test shows when I use ++enc to open a file in GB18030, Vim uses
CP936, which is not correct. GB18030 is a 1, 2, or 4 byte encoding,
while CP936 is a 1 or 2 byte encoding. The iconv on my system works
51 matches
Mail list logo