Re: VimWiki - released finally

2007-06-06 Thread Robert Cussons
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: why does :save not work with -stdin-

2007-06-06 Thread Bram Moolenaar
Edward L. Fox wrote: 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

Re: VimWiki - released finally

2007-06-06 Thread Sebastian Menge
Some more remarks. When replying it would be clever to change the subject of the mail ... Categories: Tom, the category appears at the very bottom of a page. see: http://meta.wikimedia.org/wiki/Help:Category (meta.wikimedia.org is the best source for technical documentation about mediawiki.)

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

2007-06-06 Thread panshizhu
A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-06-06 10:30:54: 1. will vim write BOM when writing to unicode files? or is there any options for that? :setlocal bomb When opening a Unicode file, Vim will set or clear the buffer-local 'bomb' option according to the presence or absence of a

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

2007-06-06 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: A.J.Mechelynck [EMAIL PROTECTED] 写于 2007-06-06 10:30:54: 1. will vim write BOM when writing to unicode files? or is there any options for that? :setlocal bomb When opening a Unicode file, Vim will set or clear the buffer-local 'bomb' option according to the

Re: VimWiki - released finally

2007-06-06 Thread Robert Cussons
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: buffer local autocmd

2007-06-06 Thread Markus Schulz
Am Dienstag, 5. Juni 2007 21:00 schrieb 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

Re: VimWiki: New Tips

2007-06-06 Thread Sebastian Menge
Am Mittwoch, den 06.06.2007, 10:12 +0100 schrieb A. S. Budden: The 'title' line of my tip ends with this: Karma: Imported from: Tip#. Since it wasn't an imported tip and the rating is supposed to Any suggestions? That needs to be fixed in the template. Will take some minutes. Thanks for

Re: VimWiki: New Tips

2007-06-06 Thread Sebastian Menge
Am Mittwoch, den 06.06.2007, 11:22 +0200 schrieb Sebastian Menge: That needs to be fixed in the template. Will take some minutes. Fixed. If id is empty, the template will produce other output. Also fixed [[TipPreload]] to not use id and rating by default. Seb.