Re: VimWiki - released finally

2007-06-05 Thread fREW
On 6/5/07, Sebastian Menge [EMAIL PROTECTED] wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is perfect,

Re: VimWiki - released finally

2007-06-05 Thread Nico Weber
Hi, Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com if you must have ads, would it be possible to go with text-only ads? Additionally, the Digg this story button at the bottom is stupid ;-) Just my destructive 2 cents, Nico

Re: [Cygwin] Configure Detects Incorrect Ruby Version

2007-06-05 Thread Alexey I. Froloff
* Taylor Venable taylor@ [070605 06:48]: ruby: no such file to load -- ubygems (LoadError) This is pretty clearly supposed to be the rubygems module, You have -rubygems somewhere in your $RUBYOPTS environment variable. Either unset this variable before building vim, check your

Re: VimWiki - released finally

2007-06-05 Thread Bram Moolenaar
Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is perfect, but I think it is

Re: VimWiki - released finally

2007-06-05 Thread Robert Lee
Sebastian, Why not utilize the talk: pages for the comments (see discussion tab at top of each wiki page)? Just curious. -Robert Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to

why does :save not work with -stdin-

2007-06-05 Thread Mohsin
I usually do search like this: $ grep Word *.* | vim -u myvimrc - $ cat myvimrc :autocmd StdinReadPost * :sav! /tmp/x but when I quit :q, vim always asks me to save the file again, why is the file marked as modified? I tried all combinations of flags, but can't get vim to mark the file as

Re: why does :save not work with -stdin-

2007-06-05 Thread Edward L. Fox
Hi Mohsin, On 6/6/07, Mohsin [EMAIL PROTECTED] wrote: I usually do search like this: $ grep Word *.* | vim -u myvimrc - $ cat myvimrc :autocmd StdinReadPost * :sav! /tmp/x but when I quit :q, vim always asks me to save the file again, why is the file marked as modified? I tried all

[bug report] C syntax broken with anonymous arrays

2007-06-05 Thread marc chantreux
Hi all, After reading http://www.run.montefiore.ulg.ac.be/~martin/resources/kung-f00.html I now use anonymous arrays in C. This is an exemple of use: result = ldap_search_s( ld , dc=u-strasbg,dc=fr , LDAP_SCOPE_ONELEVEL , NULL , (char *[]){

Re: Selecting font size

2007-06-05 Thread Tobia
Tim Johnson wrote: when I choose the font size, the font that is loaded is very different from what was installed when i started and is far from appealing. Is it a bitmap font? You can recognize a bitmap font from the sharp edges and pixellated appearance. Bitmap fonts come in only one size,

search/paste question

2007-06-05 Thread Craig Davies
Excuse the dumb question, but I can't find the answer in the docs... I see you can /text to search, and do * to find the next occurrence of the word under the cursor, but how do you paste text that you've just yank'd, into the search line after you press / without using the mouse? Thanks C

Re: search/paste question

2007-06-05 Thread Tim Chase
I see you can /text to search, and do * to find the next occurrence of the word under the cursor, but how do you paste text that you've just yank'd, into the search line after you press / without using the mouse? You can use control+R followed by / to insert the text of the last search.

VimWiki - released finally

2007-06-05 Thread Sebastian Menge
[cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is perfect, but I think it is usable now. Thanks to all the

ex editor

2007-06-05 Thread C.Moncrieff
I guess that this email group may not be the group I need. Is there a useful specialised ex group, in particular is there a community of ex (or vi/vim +occasional ex) users on MAC OSX. What I consider to be highly undesirable new features make ex (and perhaps vi/vim) extremely awkward to use on

Re: VimWiki - released finally

2007-06-05 Thread Sebastian Menge
Am Dienstag, den 05.06.2007, 13:38 +0200 schrieb misi e: all what is missing now (as long as I know) an interface to access this wiki from vim itself .) Easy with http://wikipediafs.sf.net :-) Cool would be a vim-plugin that detects [[WikiPage]] and produces a link that opens WikiPage.mw from

buffer local autocmd

2007-06-05 Thread Markus Schulz
hello, i want to setup some things only for php-source files. But i don't get the autocmd local to buffer. The setup was also applied to opened c++ files after the first php file. currently i have this inside my .vimrc (php.vim sets some tabulator options) autocmd FileType php source

Re: ex editor

2007-06-05 Thread Tim Chase
I would dearly like to be able to replace ex by a more comfortable older version eg not wiping image of recent changes on screen on exit. I'm not 100% sure how to do this one. This is likely a terminal thing. Perhaps you can monkey with the settings as described in

Re: ex editor

2007-06-05 Thread Charles E Campbell Jr
C.Moncrieff wrote: I guess that this email group may not be the group I need. I'm afraid you're stuck, at least as far as official vim groups go. There's this one and vim-development, primarily. See http://vim.sourceforge.net/community.php for the complete list. What I consider to be

vim not opening directories

2007-06-05 Thread Reid Thompson
currently running vim 7.1.2 svn. In the past when invoking vim on a directory, it would open the directory and list the contents, my current build is not doing this. It returns the message src is a directory instead. Can someone point me to what I've mis-configured? Thanks, reid

Re: vim not opening directories

2007-06-05 Thread Peter Palm
Op dinsdag 5 juni 2007, schreef Reid Thompson: currently running vim 7.1.2 svn. In the past when invoking vim on a directory, it would open the directory and list the contents, my current build is not doing this. It returns the message src is a directory instead. Can someone point me to

Re: vim not opening directories

2007-06-05 Thread Reid Thompson
On Tue, 2007-06-05 at 16:32 +0200, Peter Palm wrote: Op dinsdag 5 juni 2007, schreef Reid Thompson: currently running vim 7.1.2 svn. In the past when invoking vim on a directory, it would open the directory and list the contents, my current build is not doing this. It returns the message

Re: vim not opening directories

2007-06-05 Thread Peter Palm
Op dinsdag 5 juni 2007, schreef Reid Thompson: I have a .vimrc. it has Use Vim settings, rather then Vi settings (much better!). This must be first, because it changes other options as a side effect. set nocompatible I've already tried invoking via [EMAIL

Problem installing Vim 7.1 - DiffOrig command in vimrc_example.vim

2007-06-05 Thread Cesare Guardino
Hi, I've installed Vim 7.1 on a Linux machine. When I run gvim, the following error message appears on my terminal: Error detected while processing /raid2/guardino/resources/vim/vim7.1/share/vim/vim71/vimrc_example.vim: line 85: E174: Command already exists: add ! to replace it

Re: search/paste question

2007-06-05 Thread A.J.Mechelynck
Tim Chase wrote: I see you can /text to search, and do * to find the next occurrence of the word under the cursor, but how do you paste text that you've just yank'd, into the search line after you press / without using the mouse? You can use control+R followed by / to insert the text of the

Re: vim not opening directories

2007-06-05 Thread Charles E Campbell Jr
Reid Thompson wrote: I have a .vimrc. it has Use Vim settings, rather then Vi settings (much better!). This must be first, because it changes other options as a side effect. set nocompatible I've already tried invoking via [EMAIL PROTECTED]:~$

Re: buffer local autocmd

2007-06-05 Thread Gary Johnson
On 2007-06-05, Markus Schulz [EMAIL PROTECTED] wrote: hello, i want to setup some things only for php-source files. But i don't get the autocmd local to buffer. The setup was also applied to opened c++ files after the first php file. currently i have this inside my .vimrc (php.vim sets

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 6:51 am, Sebastian Menge wrote: Am Dienstag, den 05.06.2007, 13:38 +0200 schrieb misi e: all what is missing now (as long as I know) an interface to access this wiki from vim itself .) Easy with http://wikipediafs.sf.net :-) Also, don't forget about the ItsAllText plugin

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 5:41 am, Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is

Re: vim not opening directories

2007-06-05 Thread Reid Thompson
On Tue, 2007-06-05 at 16:50 +0200, Peter Palm wrote: Op dinsdag 5 juni 2007, schreef Reid Thompson: I have a .vimrc. it has Use Vim settings, rather then Vi settings (much better!). This must be first, because it changes other options as a side effect. set

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
How do you update the categories? I can't seem to find that text when I edit the full page. Thanks! Tom Purl On Tue, June 5, 2007 6:51 am, Sebastian Menge wrote: Am Dienstag, den 05.06.2007, 13:38 +0200 schrieb misi e: all what is missing now (as long as I know) an interface to access this

Re: vim not opening directories

2007-06-05 Thread Reid Thompson
On Tue, 2007-06-05 at 11:14 -0400, Charles E Campbell Jr wrote: Reid Thompson wrote: I have a .vimrc. it has Use Vim settings, rather then Vi settings (much better!). This must be first, because it changes other options as a side effect. set nocompatible

Re: vim not opening directories

2007-06-05 Thread Reid Thompson
On Tue, 2007-06-05 at 11:14 -0400, Charles E Campbell Jr wrote: * make sure that your account has read-write access (if somehow its owned by root...) drwxr-xr-x 17 rthompso staff4096 2007-06-01 11:42 src

Re: VimWiki - released finally

2007-06-05 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 12:00 PM, Tom Purl wrote: On Tue, June 5, 2007 5:41 am, Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com

Re: VimWiki - released finally

2007-06-05 Thread hermitte
Hello, Tom Purl [EMAIL PROTECTED] wrtoe: How do you update the categories? I can't seem to find that text when I edit the full page. We need to edit the tips to add them one, or several category tags. e.g.: [[Category:Integration]] BTW, nice work! -- Luc Hermitte

vim apparently ignoring -c nomodeline cmdline option

2007-06-05 Thread Rodolfo Borges
When opening a file that ends with # vim:fdm=marker: vim keeps doing the folding, even if I call it with -c nomodeline (I also tried -c modelines=0). Is it vim fault's, or (more likely) mine? -- Rodolfo Borges

Re: ex editor

2007-06-05 Thread Tobia
Tim Chase wrote: I'm likely one of the scant few who still wants Vim to support true open mode (:help :open). Not urgently, but there are times it would have been handy. Fortunately, I've got some older versions of vi that do support it for those scarse occasions I want it. Can you please

Re: VimWiki - released finally

2007-06-05 Thread fREW
On 6/5/07, Sebastian Menge [EMAIL PROTECTED] wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is perfect,

Re: vim apparently ignoring -c nomodeline cmdline option

2007-06-05 Thread Gary Johnson
On 2007-06-05, Rodolfo Borges [EMAIL PROTECTED] wrote: When opening a file that ends with # vim:fdm=marker: vim keeps doing the folding, even if I call it with -c nomodeline (I also tried -c modelines=0). Is it vim fault's, or (more likely) mine? Note that :help -c says: -c

history in new instance

2007-06-05 Thread Ron Olson
Hi all- I use Vim 7 both on Windows and a Mac (in gui mode) and Linux (console mode) and I've noticed that all versions I have, except the Mac one, keeps a command history from previous instances. That is, if I type : and then up-arrow, I can see commands that I've previously entered even though

Re: ex editor

2007-06-05 Thread fREW
On 6/5/07, Tim Chase [EMAIL PROTECTED] wrote: I would dearly like to be able to replace ex by a more comfortable older version eg not wiping image of recent changes on screen on exit. I'm not 100% sure how to do this one. This is likely a terminal thing. Perhaps you can

Re: ex editor

2007-06-05 Thread Tim Chase
Can you please expand on what :open does and what it's useful for? :help :open tells me nothing at all :-( Open-mode is a quasi-Ex and quasi-Vi mode, or could also be described as Vi mode on a glass/printing TTY. It doesn't redraw the screen. I found it useful when I had to use a printer

Re: ex editor

2007-06-05 Thread Tim Chase
Is :help undo where we can get information on Vim7's undo? I remember reading about how it was all awesome and stuff, but I haven't gotten a chance to actually try to use it yet. It's all contained in :help undo.txt The powerful additions to Vim7 are found at :help

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 12:36 pm, [EMAIL PROTECTED] wrote: Hello, Tom Purl [EMAIL PROTECTED] wrtoe: How do you update the categories? I can't seem to find that text when I edit the full page. We need to edit the tips to add them one, or several category tags. e.g.: [[Category:Integration]]

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 11:34 am, Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 12:00 PM, Tom Purl wrote: On Tue, June 5, 2007 5:41 am, Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Finally I have imported all the vim tips from

Re: VimWiki - released finally

2007-06-05 Thread Nico Weber
Hi, Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com if you must have ads, would it be possible to go with text-only ads? Additionally, the Digg this story button at the bottom is stupid ;-) Just my destructive 2 cents, Nico

Re: VimWiki - released finally

2007-06-05 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 1:59 PM, Tom Purl wrote: On Tue, June 5, 2007 11:34 am, Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 12:00 PM, Tom Purl wrote: On Tue, June 5, 2007 5:41 am, Sebastian Menge wrote:

Re: VimWiki - released finally

2007-06-05 Thread hermitte
Selon Tom Purl [EMAIL PROTECTED]: On Tue, June 5, 2007 12:36 pm, [EMAIL PROTECTED] wrote: Hello, Tom Purl [EMAIL PROTECTED] wrtoe: How do you update the categories? I can't seem to find that text when I edit the full page. We need to edit the tips to add them one, or several

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 1:14 pm, Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 1:59 PM, Tom Purl wrote: On Tue, June 5, 2007 11:34 am, Brian McKee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5-Jun-07, at 12:00 PM, Tom Purl wrote: On Tue, June

Re: buffer local autocmd

2007-06-05 Thread A.J.Mechelynck
Markus Schulz wrote: hello, i want to setup some things only for php-source files. But i don't get the autocmd local to buffer. The setup was also applied to opened c++ files after the first php file. currently i have this inside my .vimrc (php.vim sets some tabulator options) autocmd

Multiple syntax behaviour inside a file

2007-06-05 Thread Fabien Meghazi
Hi all, I would like to know if it's possible to do this crazy thing with vim : I have a bunch of xml files wich contains template of many different type of text : html, css, ruby, javascript, ... Here's what it looks like : ?xml version=1.0? templates t name=test_css type=css body {

Re: VimWiki - released finally

2007-06-05 Thread Bram Moolenaar
Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to http://vim.wikia.com and set up a minimal infrastructure to keep things going. Not everything is perfect, but I think it is

Re: [bug report] C syntax broken with anonymous arrays

2007-06-05 Thread Bram Moolenaar
Marc Chantreux wrote: After reading http://www.run.montefiore.ulg.ac.be/~martin/resources/kung-f00.html I now use anonymous arrays in C. This is an exemple of use: result = ldap_search_s( ld , dc=u-strasbg,dc=fr , LDAP_SCOPE_ONELEVEL , NULL

Re: vim apparently ignoring -c nomodeline cmdline option

2007-06-05 Thread A.J.Mechelynck
Gary Johnson wrote: On 2007-06-05, Rodolfo Borges [EMAIL PROTECTED] wrote: When opening a file that ends with # vim:fdm=marker: vim keeps doing the folding, even if I call it with -c nomodeline (I also tried -c modelines=0). Is it vim fault's, or (more likely) mine? Note that :help -c

Re: history in new instance

2007-06-05 Thread A.J.Mechelynck
Ron Olson wrote: Hi all- I use Vim 7 both on Windows and a Mac (in gui mode) and Linux (console mode) and I've noticed that all versions I have, except the Mac one, keeps a command history from previous instances. That is, if I type : and then up-arrow, I can see commands that I've previously

Re: VimWiki - released finally

2007-06-05 Thread Tom Purl
On Tue, June 5, 2007 2:29 pm, [EMAIL PROTECTED] wrote: Selon Tom Purl [EMAIL PROTECTED]: On Tue, June 5, 2007 12:36 pm, [EMAIL PROTECTED] wrote: Hello, Tom Purl [EMAIL PROTECTED] wrtoe: How do you update the categories? I can't seem to find that text when I edit the full page. We need

Re: VimWiki - released finally

2007-06-05 Thread A.J.Mechelynck
Tom Purl wrote: On Tue, June 5, 2007 2:29 pm, [EMAIL PROTECTED] wrote: Selon Tom Purl [EMAIL PROTECTED]: On Tue, June 5, 2007 12:36 pm, [EMAIL PROTECTED] wrote: Hello, Tom Purl [EMAIL PROTECTED] wrtoe: How do you update the categories? I can't seem to find that text when I edit the full

Re: OT: Vi in a browser... Re: VimWiki

2007-06-05 Thread Ben Kim
Just stumbled across this link: http://gpl.internetconnection.net/vi/ for a basic implementation of Vi, authored in JavaScript. With no desire to rekindle the debate, I just thought they might make a good match. In fact I could also use it for my wiki sites... if available. Just a quick

RE: VimWiki - released finally

2007-06-05 Thread Larson, David
Sebastian, Why not utilize the talk: pages for the comments (see discussion tab at top of each wiki page)? Just curious. -Robert Lets avoid using the vim-announce mailing list for a discussing of vim wiki and stick to vim-dev. David

RE: VimWiki - released finally

2007-06-05 Thread Mike Hansen
-Original Message- From: Tom Purl [mailto:[EMAIL PROTECTED] [...] So what I don't understand is, why can't I change these categories? I've been editing Mediawiki pages for 4 years, and I've never seen anything like this. This isn't a figment of Tom's mind. I just poked around the

Re: VimWiki - released finally

2007-06-05 Thread Robert Lee
Sebastian, Why not utilize the talk: pages for the comments (see discussion tab at top of each wiki page)? Just curious. -Robert Sebastian Menge wrote: [cross-posted to vim, vim-dev, vim-announce, wikia-l] Hi all Finally I have imported all the vim tips from http://vim.org/tips to

Re: VimWiki - released finally

2007-06-05 Thread Luc Hermitte
* On Tue, Jun 05, 2007 at 02:54:21PM -0600, Mike Hansen [EMAIL PROTECTED] wrote: From: Tom Purl [mailto:[EMAIL PROTECTED] [...] So what I don't understand is, why can't I change these categories? I've been editing Mediawiki pages for 4 years, and I've never seen anything like this.

Re: Multiple syntax behaviour inside a file

2007-06-05 Thread Ian Tegebo
On 6/5/07, Fabien Meghazi [EMAIL PROTECTED] wrote: Hi all, I would like to know if it's possible to do this crazy thing with vim : I have a bunch of xml files wich contains template of many different type of text : html, css, ruby, javascript, ... Here's what it looks like : ?xml

Re: Selecting font size

2007-06-05 Thread Tim Johnson
On Monday 04 June 2007, Tim Johnson wrote: .. I appreciate some tips as how to resolve this. Just want to thank everybody for the help. all is good now. cheers tim

Re: vim not opening directories

2007-06-05 Thread Seth Mason
I don't know if this is the same issue but I had the same behavior after I accidentally installed the latest version of the netrw plugin from Dr. Chip's site to my ~/.vimfies without removing the version in /usr/share/vim/vmi71 first. Once I removed the version in /usr/share it started

Syntax Highlighting works for one file only

2007-06-05 Thread Tim Johnson
Hello: I'm using vim compiled as 'vim.full' for kubuntu 7.04 amd-64. I can load one file and one file only - it's a python file - where syntax highlighting comes on automatically. Any subsequent files with a .py extension are loaded with only strings highlighted. :setf python enables full

Re: Syntax Highlighting works for one file only

2007-06-05 Thread A.J.Mechelynck
Tim Johnson wrote: Hello: I'm using vim compiled as 'vim.full' for kubuntu 7.04 amd-64. I can load one file and one file only - it's a python file - where syntax highlighting comes on automatically. Any subsequent files with a .py extension are loaded with only strings highlighted. :setf python

Re: Syntax Highlighting works for one file only

2007-06-05 Thread Tim Johnson
On Tuesday 05 June 2007, A.J.Mechelynck wrote: In your second (badly highlighted) *.py file, what does Vim answer to :verbose set filetype? filetype=conf Last set from /usr/share/vim/vim70/filetype.vim Hmm! Thanks Tony Tim

Re: Syntax Highlighting works for one file only

2007-06-05 Thread A.J.Mechelynck
Tim Johnson wrote: On Tuesday 05 June 2007, A.J.Mechelynck wrote: In your second (badly highlighted) *.py file, what does Vim answer to :verbose set filetype? filetype=conf Last set from /usr/share/vim/vim70/filetype.vim Hmm! Thanks Tony Tim Hm. In the Vim 7.1

'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread panshizhu
Hello, Recently I want to do some research about 'fileencodings', what I want is to recognize utf-8, ucs-2le, euc-cn and cp936 encodings. So I set the 'fencs' in my .vimrc: set fencs=ucs-bom,utf-8,ucs-2le,euc-cn,cp936 However, cp936 files are always recognized as ucs-2le and I got everything

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hello, Recently I want to do some research about 'fileencodings', what I want is to recognize utf-8, ucs-2le, euc-cn and cp936 encodings. So I set the 'fencs' in my .vimrc: set fencs=ucs-bom,utf-8,ucs-2le,euc-cn,cp936 However, cp936 files are always recognized as

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread panshizhu
A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-06-06 09:51:51: Unicode files may or may not have a BOM, depending on who (or which program) created them and where they come from. If you remove ucs-2le from your 'fileencodings', but leave ucs-bom at the start, any Unicode fileshaving a BOM will still

Re: Syntax Highlighting works for one file only

2007-06-05 Thread Tim Johnson
On Tuesday 05 June 2007, you wrote: Hm. In the Vim 7.1 filetype.vim, filetype conf is set for any file, one of the first 5 lines of which starts with #, but only if everything else fails (and *.py is detected as type python before that...) I wonder what causes your first *.py, but not the

Re: Syntax Highlighting works for one file only

2007-06-05 Thread Tim Johnson
On Tuesday 05 June 2007, A.J.Mechelynck wrote: Tim Johnson wrote: Hello: I'm using vim compiled as 'vim.full' for kubuntu 7.04 amd-64. I can load one file and one file only - it's a python file - where syntax highlighting comes on automatically. Any subsequent files with a .py extension

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-06-06 09:51:51: Unicode files may or may not have a BOM, depending on who (or which program) created them and where they come from. If you remove ucs-2le from your 'fileencodings', but leave ucs-bom at the start, any Unicode

How to jump to an existing tab page when jumping to an tag?

2007-06-05 Thread Weihua JIANG
How to jump to an existing tab page when jumping to an tag? I use ctags for my c++ files. Normally, I opened many of such c++ files in different tag pages. But, when I using Ctrl-] to jump a tag under cursor, gvim will open the target file in current tab page, even when the target file is

Pass vim variable to ruby function

2007-06-05 Thread Akbar
Hi, This is my ruby script: VIM::command(function! OpenRequire(open) ruby open_require(open) endfunction) But open is not recognized by ruby. But I can do this: VIM::command(function! OpenRequire(open) echo a:open endfunction) This

Re: Pass vim variable to ruby function

2007-06-05 Thread A.J.Mechelynck
Akbar wrote: Hi, This is my ruby script: VIM::command(function! OpenRequire(open) ruby open_require(open) endfunction) But open is not recognized by ruby. But I can do this: VIM::command(function! OpenRequire(open) echo a:open endfunction) This does

Re: 'fileencodings': Why use ucs-2le for cp936 file?

2007-06-05 Thread Edward L. Fox
On 6/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, Recently I want to do some research about 'fileencodings', what I want is to recognize utf-8, ucs-2le, euc-cn and cp936 encodings. So I set the 'fencs' in my .vimrc: set fencs=ucs-bom,utf-8,ucs-2le,euc-cn,cp936 However, cp936 files

Re: VimWiki - released finally

2007-06-05 Thread Sebastian Menge
Am Dienstag, den 05.06.2007, 11:14 -0500 schrieb Tom Purl: How do you update the categories? I can't seem to find that text when I edit the full page. It's a tree (or a directed acyclic graph !?): Simply tag a category with its parent category/ies. For example snip