Re: Multiple Vim setup on the same computer?

2011-06-28 Thread Gary Johnson
On 2011-06-27, kuru wrote: Hi I want to be able to setup couple different Vims, like for editing, for projects etc. i want them to be totally separate installations and have different plugins script base. What would eb the best optimum way? I don't know about best optimum, but if were to

Re: c structure relationship

2011-06-28 Thread jack sparrow
On Jun 24, 4:09 pm, jack sparrow dafs...@gmail.com wrote: hi, is there any tool that shows the relationship of c-structures in ascii text form. struct abc { struct one a; struct two b; strcut three c; }; struct one { int i; struct five; } struct two { int j; } struct three

How to retrigger 'autocmd' ?

2011-06-28 Thread narke
Hi, When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by ':noau vimgrep /xxx/ **/*.c'. Then I got c file open in a buffer but without the syntax highlighting (maybe also other good things). So I think what I need to do is to retriggle those 'autocmd' that would been usually

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread kongo2002
2011/6/28 narke narkewo...@gmail.com: Hi, When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by ':noau vimgrep /xxx/ **/*.c'.   Then I got c file open in a buffer but without the syntax highlighting (maybe also other good things). So I think what I need to do is to retriggle

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread Ben Schmidt
When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by ':noau vimgrep /xxx/ **/*.c'. Then I got c file open in a buffer but without the syntax highlighting (maybe also other good things). So I think what I need to do is to retriggle those 'autocmd' that would been usually

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread Tim Chase
On 06/28/2011 06:11 AM, Ben Schmidt wrote: think what I need to do is to retriggle those 'autocmd' that would been usually executed if I don't do 'noau ...'. Can anyone tell me how to, if possible? :doau Filetype c perhaps? Or :doau BufRead which will call :setfiletype and thereby

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread kongo2002
2011/6/28 Tim Chase v...@tim.thechases.com: On 06/28/2011 06:11 AM, Ben Schmidt wrote: think what I need to do is to retriggle those 'autocmd' that would been usually executed if I don't do 'noau ...'.  Can anyone tell me how to, if possible? :doau Filetype c perhaps? Or :doau BufRead

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread Andy Wokula
Am 28.06.2011 13:11, schrieb Ben Schmidt: When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by ':noau vimgrep /xxx/ **/*.c'. Then I got c file open in a buffer but without the syntax highlighting (maybe also other good things). So I think what I need to do is to retriggle those

Re: newbie put question

2011-06-28 Thread Russell Urquhart
Hi, I tried the Ctrl-R while in insert mode. (I generally use +gP to put stuff yanked from another program, so i tried to put the contents of that register.) But no luck. I'll try this at work as well, and look more into the help messages. Any other help or suggestions is greatly

Re: newbie put question

2011-06-28 Thread Tim Chase
On 06/28/2011 07:31 AM, Russell Urquhart wrote: I tried the Ctrl-R while in insert mode. (I generally use +gP to put stuff yanked from another program, so i tried to put the contents of that register.) But no luck. I'll try this at work as well, and look more into the help messages. Ctrl-R

Re: newbie put question

2011-06-28 Thread Russell Urquhart
Ahh, that did it! Thanks. As an aside, for us newbies, would you recommend this to put yanked content vs p or P? Thanks, Russ On Tue, Jun 28, 2011 at 07:37:50AM -0500, Tim Chase wrote: On 06/28/2011 07:31 AM, Russell Urquhart wrote: I tried the Ctrl-R while in insert mode. (I generally use

Re: newbie put question

2011-06-28 Thread Tim Chase
(reordering to interleaved reply, the preferred quoting style on the vim mailing list, as noted in the footer added by the list) Ctrl-R enter a sub-mode expecting the register-name following it, so if you want the system-clipboard, you'd want to use control+R followed by +. Ahh, that did it!

New Version and Perl

2011-06-28 Thread Burton, Kenneth
I currently have Perl 5.8.8 running on my AIX box. It seems the requirement of :MODULE_COMPACT_5.8.8 is needed. Is this a total replacement of Perl? Kinda of worried about replacing this package when I have seen some bad experiences. Is 7.2 cleaner? Thank you. Kenneth Burton Lead Systems

completion and caching

2011-06-28 Thread Edward Peschko
All, I'm attempting to use vim's omni-complete feature (ctrl-N, ctrl-P), and am finding - oddly enough - that it keeps on re-scanning the files in order to get the correct symbols, rather than doing what I would think would be the intelligent thing, namely caching the symbols it does find, and

syntax highlight unusual strings

2011-06-28 Thread cyboman
my company is using a propitiatory language. there are 4 kind of different kind of strings that can be defined. imystring xmystring bmystring mystring i'm writing a syntax file and want to be able to highlight strings in a regular manner except when they start with a letter, i.e. i want

Re: syntax highlight unusual strings

2011-06-28 Thread Andy Wokula
Am 28.06.2011 21:47, schrieb cyboman: my company is using a propitiatory language. there are 4 kind of different kind of strings that can be defined. imystring xmystring bmystring mystring i'm writing a syntax file and want to be able to highlight strings in a regular manner except when they

Re: syntax highlight unusual strings

2011-06-28 Thread Andy Wokula
Am 28.06.2011 22:22, schrieb Andy Wokula: Am 28.06.2011 21:47, schrieb cyboman: my company is using a propitiatory language. there are 4 kind of different kind of strings that can be defined. imystring xmystring bmystring mystring i'm writing a syntax file and want to be able to highlight

Re: syntax highlight unusual strings

2011-06-28 Thread Charles Campbell
cyboman wrote: my company is using a propitiatory language. there are 4 kind of different kind of strings that can be defined. imystring xmystring bmystring mystring [snip] Here's one attempt... syn region Strings matchgroup=myRegularString start=//end=// syn match myByteString

clipboard=unnamedplus and visual mode

2011-06-28 Thread Michael Seiwald
Hello all, when I have clipboard=unnamedplus in my vimrc and paste something in visual mode (over a selection) Vim always complains with: E353: Nothing in register + Pasting in normal mode and yanking to the X11 clipboard works fine. This also happens with vim -u NONE. I would appreciate

Re: How to retrigger 'autocmd' ?

2011-06-28 Thread Ben Fritz
On Jun 28, 4:31 am, narke narkewo...@gmail.com wrote: Hi, When I 'vimgrep' on a large file tree, I usually turn of 'autocmd' by ':noau vimgrep /xxx/ **/*.c'.   Then I got c file open in a buffer but without the syntax highlighting (maybe also other good things). So I think what I need to

Re: completion and caching

2011-06-28 Thread Bill Sun
On Tue, Jun 28, 2011 at 12:34:28PM -0700, Edward Peschko wrote: I'm attempting to use vim's omni-complete feature (ctrl-N, ctrl-P), and am finding - oddly enough - that it keeps on re-scanning the files in order to get the correct symbols, rather than doing what I would think would be the