Re: Help with VIM syntax region regex please....

2012-01-02 Thread Karthick Gururaj
On Mon, Jan 2, 2012 at 5:40 AM, wombatvvv wrote: > > Hello, > > I'm doing something a little complex with my syntax highlighting, and I'm > having a problem. > > I want if-blocks to be highlighted differently. I want the if-block to start > with the word "if" and end one-space before the { symbol,

Re: Can't write to ntfs file system

2012-01-02 Thread Graham Lawrence
Sorry, should have been more emphatic, I have the ntfs-3g driver. Vim is the *only* app that has a problem writing to this device, all others do so freely. I have to keep windows to run my printer and tv, but virtually all the files on this ntfs drive are created in linux. So the problem is spec

Re: folding ruby comments

2012-01-02 Thread Taylor Hedberg
Gary Johnson, Sun 2012-01-01 @ 18:57:12-0800: > I don't know why. I suspect that the set command removes one level of > backslash-escaping, even between single-quotes. It does. Another good reason to use `:let &option = ‥` instead of `:set option=‥` for any non-trivial option value. pgpSBQRVWxk

Re: Can't write to ntfs file system

2012-01-02 Thread Joan Miquel Torres Rigo
2012/1/2 Graham Lawrence : > Sorry, should have been more emphatic, I have the ntfs-3g driver.  Vim > is the *only* app that has a problem writing to this device, all > others do so freely.  I have to keep windows to run my printer and tv, > but virtually all the files on this ntfs drive are create

Re: Can't write to ntfs file system

2012-01-02 Thread Marty Fried
On Mon, Jan 2, 2012 at 7:17 AM, Graham Lawrence wrote: > Sorry, should have been more emphatic, I have the ntfs-3g driver. Vim > is the *only* app that has a problem writing to this device, all > others do so freely. I have to keep windows to run my printer and tv, > but virtually all the files

Vim persistent undo with sudoedit

2012-01-02 Thread rprabhu
Hi, I use persistent undo feature of vim. However, I use sudoedit when editing files as root. This breaks the persistent undo since it relies on filenames. Is there a way around this ? I tried a few vim plugins (like sudo.vim) which didn't seem to work for me. I am using either of them because

Re: Vim persistent undo with sudoedit

2012-01-02 Thread Gary Johnson
On 2012-01-03, Raghavendra Prabhu wrote: > Hi, > > I use persistent undo feature of vim. However, I use sudoedit when > editing files as root. This breaks the persistent undo since it > relies on filenames. Is there a way around this ? I tried a few vim > plugins (like sudo.vim) which didn't seem

Re: Vim persistent undo with sudoedit

2012-01-02 Thread Christian Brabandt
Hi rprabhu! On Di, 03 Jan 2012, rpra...@wnohang.net wrote: > Hi, > > I use persistent undo feature of vim. However, I use sudoedit when > editing files as root. This breaks the persistent undo since it > relies on filenames. Is there a way around this ? I tried a few vim > plugins (like sudo.vim

Re: Help with VIM syntax region regex please....

2012-01-02 Thread wombatvvv
Yes, that is correct. If I explain a bit, it may make my intentions clearer. What I am writing is a syntax file the does "rainbow" code colouring for different code-blocks as well as different bracket levels. It's been complex, but it almost works. This is one of the last issues I have to resolve.

Re: Help with VIM syntax region regex please....

2012-01-02 Thread wombatvvv
Actually, don't worry about. I went with a simpler solution that probably makes more sense anyway. (If, while, for, etc. block-headings are highlighted the same colours as their containing block, not a new one). * http://vicwebster.net/images/screen-code2.gif Screenshot here * if you're intereste

Re: Re: Vim persistent undo with sudoedit

2012-01-02 Thread rprabhu
* On Mon, Jan 02, 2012 at 10:43:45PM +0100, Christian Brabandt wrote: Hi rprabhu! On Di, 03 Jan 2012, rpra...@wnohang.net wrote: Hi, I use persistent undo feature of vim. However, I use sudoedit when editing files as root. This breaks the persistent undo since it relies on filenames. Is t

Re: Vim persistent undo with sudoedit

2012-01-02 Thread Christian Brabandt
Hi rprabhu! On Di, 03 Jan 2012, rpra...@wnohang.net wrote: > * On Mon, Jan 02, 2012 at 10:43:45PM +0100, Christian Brabandt > wrote: > >Hi rprabhu! > > > >On Di, 03 Jan 2012, rpra...@wnohang.net wrote: > > > >>Hi, > > >>I use persistent undo feature of vim. However, I use sudoedit when > >>edi

Nesting an already defined menu in a menu

2012-01-02 Thread gvalkov
Greetings, Is it possible to nest a menu that has already been defined (say, in a plugin) under another menu (say, PopUp)? Something like: amenu PopUp.&SomeMenu :nest-another-menu MenuThatAlreadyExists I went through the docs as well as a bunch of plugins that deal with menus and basically foun