Re: Reannouncing vimplugin: A vim plugin for Eclipse

2007-04-02 Thread Sebastian Menge
Am Sonntag, den 01.04.2007, 13:33 -0400 schrieb Silent1: Just a quick question about the overal goal of the project. Would vim just become an editor inside eclipse? Or would we be able to still use vim inside eclipse but still use code completion say from plugins like zends php project for

Googel Summer of Code: Mentor

2007-04-02 Thread David Terei
Hi all, My name is David Terei, I applied for Google SOC with Vim (Eclipse plug-in). I also applied for Mozilla (Thunderbird) and they contacted me, telling me I have also been assigned a mentor by the Vim project and asked me to please put them in contact with that person. No one from Vim has

GSOC - we assigned mentor for the same student

2007-04-02 Thread Marcin Wojdyr
Hi, I tried to contact you about week ago (but I didn't notice, that I must be subscribed to the list to post), and I also sent an e-mail to Bram last week, but I didn't get a reply. Vim and Fityk both assigned mentors to student Diaa. I've contacted Diaa, and he wrote me that he would choose

Re: invoking yanked register into colon command

2007-04-02 Thread Georg Dahn
Hi! There is an error: The function function MakeSearchString(str) return substitute(escape(@, '\\/.*$^~[]'), '\n', '\\n', 'g') endfunction should be function MakeSearchString(str) return substitute(escape(a:str, '\\/.*$^~[]'), '\n', '\\n', 'g') endfunction I have not seen this

Re: bracket completion

2007-04-02 Thread Panos Laganakos
Those are great, thanks alot :) On 4/1/07, Fritz Mehner [EMAIL PROTECTED] wrote: A.J.Mechelynck schrieb: Greg Fitzgerald wrote: Anyone know of a way to achieve bracket completion? For example if your typing a if statement, if (something) { once you type the first bracket the 2nd one is

Re: Esperanto dictionary

2007-04-02 Thread Hugh Sasse
On Sat, 31 Mar 2007, Cyril Slobin wrote: Hi all! [...] I have complied my own eo.utf-8.spl from ispell sources by Sergio Pokrovskij found in Debian 3.1 distribution. It understands both real Unicode and surrogate Cxirkaux-style (if you don't speak Esperanto, It might be useful to

Re: Esperanto dictionary

2007-04-02 Thread Cyril Slobin
On 4/2/07, Hugh Sasse [EMAIL PROTECTED] wrote: It might be useful to also support C^irkau^ as well. I'm not sure how often the h form is used given the exception(s?) (flughaveno...) For h form you can use my plugin: http://www.vim.org/scripts/script.php?script_id=1761 It converts misc

RE: gVim and Cygwin

2007-04-02 Thread Robert Schols
-Original Message- From: Waters, Bill [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 18:06 To: vim@vim.org Subject: gVim and Cygwin Does anyone have experience with running gVim and using Cygwin commands (ex. indent)?  I would prefer not to run vim in a Cygwin

Re: delete all but first occurence of a pattern

2007-04-02 Thread Nikolaos A. Patsopoulos
Tobia wrote: I don't think Vim's regular expressions are the best tool for this job. I mean, XML manipulation is much easier done in XSLT: ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=article xsl:copy

Question about b:did_ftplugin

2007-04-02 Thread Thomas
Hi, When I set a filetype for a buffer the variable b:did_ftplugin is set. The help says: If you are writing a filetype plugin to be used by many people, they need a chance to disable loading it. Put this at the top of the plugin: Only do this when not done yet for this buffer

Re: problem loading Python dll

2007-04-02 Thread Alan G Isaac
On Mon, 2 Apr 2007, Johan du Preez apparently wrote: I have installed Python 2.5, but vim does not appear to see it? How do I solve this one!. :h python-dynamic hth, Alan Isaac

Re: bracket completion

2007-04-02 Thread shawn bright
i am finding these usefull too, thanks sk On 4/2/07, Panos Laganakos [EMAIL PROTECTED] wrote: Those are great, thanks alot :) On 4/1/07, Fritz Mehner [EMAIL PROTECTED] wrote: A.J.Mechelynck schrieb: Greg Fitzgerald wrote: Anyone know of a way to achieve bracket completion? For example

Re: bracket completion

2007-04-02 Thread Greg Matheson
On Mon, 02 Apr 2007, shawn bright wrote: i am finding these usefull too, thanks Check out Luc Hermitte's development of Stephen Riehm's bracketing macros. http://hermitte.free.fr/vim/settings.php#settings -- Greg MathesonI have an elaborate mnemonic for

repeat replace many time on each line

2007-04-02 Thread Arnaud Bourree
Hello, I've Xml document with attribute likes: foo=00 12 AF I want to replace with: foo=0x00 0x12 0xAF I try: %s/\%(\%(foo=\\)\@=\%(0x[0-9A-F]\{2\}\s\)*\)\@=\([0-9A-F]\{2\}\)/0x\1/g It works fine for each first occurrence of each line but not on others whatever I've put g option. I have to use

what is wrong with my keymap for commenting a block

2007-04-02 Thread flyfish
Hi, i write a simple keymap for commenting C file, map C 0i/*C-EscA*/C-Escj now i want to use the command like 12C to comment a block, however, it does not follow my mind, it does not comment one line then go down comment the next line, it only give a lot of /* in the first line and make

Re: Question about b:did_ftplugin

2007-04-02 Thread Andy Wokula
Thomas schrieb: Hi, When I set a filetype for a buffer the variable b:did_ftplugin is set. The help says: If you are writing a filetype plugin to be used by many people, they need a chance to disable loading it. Put this at the top of the plugin: Only do this when not done yet for

Re: bracket completion

2007-04-02 Thread shawn bright
this looks like exactly what i am after. i am kind of a newbie here, and cant quite get it to work right. i believe that i need a python.vim file in /ftplugin directory. but i dont know how to word it to make this plugin work, could anyone kinda help me here, i can't make out what i should do

ok, new question on search

2007-04-02 Thread shawn bright
lo there, when i do a search like /text it highlights all of the matches and i can use n and N to navigate. how do i turn the highlighting off when i am done? thanks sk

RE: invoking yanked register into colon command

2007-04-02 Thread Gene Kwiecinski
after having read the user-manual. For example, I do often want to replace a name in the text with another. What I used to do is selecting it with mouse and type :%s/ctrl-ins/newname/gc Is there a way to do this with the mouse (and without retyping the name) ? What I want is maybe something like

Re: ok, new question on search

2007-04-02 Thread Albie Janse van Rensburg
Gene Kwiecinski wrote: when i do a search like /text it highlights all of the matches and i can use n and N to navigate. how do i turn the highlighting off when i am done? Need to keep the pattern in memory? If not, /zzz will do it, assuming you don't have zzz anywhere else in your

RE: ok, new question on search

2007-04-02 Thread Gene Kwiecinski
Need to keep the pattern in memory? If not, /zzz will do it, assuming you don't have zzz anywhere else in your file, of course. The search register can be overwritten by setting @/ to ''. This then clears your search properly. For my purposes, I have the following mapping in my vimrc: nnoremap

RE: ok, new question on search

2007-04-02 Thread Gene Kwiecinski
cool enough, i guess i could map something to :/impossible_to_find_text or something Or, just zzz... or qwqw... or ;;;... etc. shrug/

Re: Esperanto dictionary

2007-04-02 Thread A.J.Mechelynck
Cyril Slobin wrote: On 4/2/07, Hugh Sasse [EMAIL PROTECTED] wrote: It might be useful to also support C^irkau^ as well. I'm not sure how often the h form is used given the exception(s?) (flughaveno...) For h form you can use my plugin:

RE: bracket completion

2007-04-02 Thread Waters, Bill
Can you provide and example of how to do this? Thanks, Bill :inoremap { {CR}UpEnd :inoremap [ []Left :inoremap ( ()Left I'll just add a statment enabling this for certain languages. This has also giving me a couple new ideas to play with. Thanks again. :) --Greg

help file imprecision

2007-04-02 Thread A.J.Mechelynck
In *insert.txt*For Vim version 7.0. Last change: 2006 Dec 06 under :help i_CTRL-_ at lines 222-223, there is: Only if compiled with the |+rightleft| feature (which is not the default). there should be: Only if compiled with the

how to create tag file in Vim for matlab .m files?

2007-04-02 Thread frank wang
Does anyone know how to do it? Thanks Frank

Re: how to create tag file in Vim for matlab .m files?

2007-04-02 Thread Charles E Campbell Jr
frank wang wrote: Does anyone know how to do it? The hdrtag program will do it: http://mysite.verizon.net/astronaut/src/index.html and click on hdrtag. Regards, Chip Campbell

Re: bracket completion

2007-04-02 Thread A.J.Mechelynck
Zarko Coklin wrote: It is hard to expand on Tony's feedback, ever. Still, I found the following works a bit better. Not only that it creates a right brace but it also places a cursor on the right spot (taking into consideration indentation if you set it). :inoremap { {CR}UpCREnd :inoremap [

Re: problem loading Python dll

2007-04-02 Thread A.J.Mechelynck
Alan G Isaac wrote: On Mon, 2 Apr 2007, Johan du Preez apparently wrote: I have installed Python 2.5, but vim does not appear to see it? How do I solve this one!. :h python-dynamic hth, Alan Isaac Rather than edit the executable as that help item suggests, you can look at the

Re: repeat replace many time on each line

2007-04-02 Thread Bob Hiestand
On 4/2/07, Tobia [EMAIL PROTECTED] wrote: Arnaud Bourree wrote: I've Xml document with attribute likes: foo=00 12 AF I want to replace with: foo=0x00 0x12 0xAF %s/\%(\%(foo=\\)\@=\%(0x[0-9A-F]\{2\}\s\)*\)\@=\([0-9A-F]\{2\}\)/0x\1/g this works:

Re: Monospaced font problem

2007-04-02 Thread Pablo Arantes
Tobia, Man, you're a genius! Your script solved the problem. I ran it and now every program (including gvim, of course) recognizes Pragmata as being monospaced. Thank you very much. -- Pablo -- Forwarded message -- From: Tobia [EMAIL PROTECTED] To: 'Vim mailing list'

Re: what is wrong with my keymap for commenting a block

2007-04-02 Thread A.J.Mechelynck
flyfish wrote: Hi, i write a simple keymap for commenting C file, map C 0i/*C-EscA*/C-Escj now i want to use the command like 12C to comment a block, however, it does not follow my mind, it does not comment one line then go down comment the next line, it only give a lot of /* in the first

Re: repeat replace many time on each line

2007-04-02 Thread Tobia
Bob Hiestand wrote: Tobia wrote: Arnaud Bourree wrote: I've Xml document with attribute likes: foo=00 12 AF I want to replace with: foo=0x00 0x12 0xAF this works: %s/\%(\%(foo=\\)\@=\%([0-9A-F]\{2\}\s\)*\)\@=\([0-9A-F]\{2\}\)/0x\1/g In using :s with the /g flag, I take it

Re: ok, new question on search

2007-04-02 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Need to keep the pattern in memory? If not, /zzz will do it, assuming you don't have zzz anywhere else in your file, of course. The search register can be overwritten by setting @/ to ''. This then clears your search properly. For my purposes, I have the following

Re: what is wrong with my keymap for commenting a block

2007-04-02 Thread flyfish
Thank you very much, i got it. A.J.Mechelynck wrote: flyfish wrote: Hi, i write a simple keymap for commenting C file, map C 0i/*C-EscA*/C-Escj now i want to use the command like 12C to comment a block, however, it does not follow my mind, it does not comment one line then go down

Re: Unsubscribing...

2007-04-02 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Mr. Mechelynck, I have tried on several occasions to unsubscribe to this mailing list. All efforts have proven futile. Can you tell me a sure-fire method to unsubscribe? Your input would be much appreciated. Regards, Dennis -- I suppose you mean the vim -at-

Re: bracket completion

2007-04-02 Thread Luc Hermitte
Hello, * On Mon, Apr 02, 2007 at 10:38:14AM -0500, shawn bright [EMAIL PROTECTED] wrote: Check out Luc Hermitte's development of Stephen Riehm's bracketing macros. http://hermitte.free.fr/vim/settings.php#settings On 4/2/07, shawn bright [EMAIL PROTECTED] wrote: this looks like

Re: bracket completion

2007-04-02 Thread Panos Laganakos
One thing that would also be great, was if you were able to tab your way out of it, ie move to the outside of the bracket, once you're done. Now you need to either press right, to move ahead (which is not quite vim-ish), or hit escape and Shift_A, to resume editing. Only possible way I can think

Re: bracket completion

2007-04-02 Thread Luc Hermitte
* On Tue, Apr 03, 2007 at 02:14:59AM +0300, Panos Laganakos [EMAIL PROTECTED] wrote: One thing that would also be great, was if you were able to tab your way out of it, ie move to the outside of the bracket, once you're done. Now you need to either press right, to move ahead (which is not

Re: bracket completion

2007-04-02 Thread shawn bright
Thanks Luc, i got the main functionality working, pretty much. I only really desire the bracket matching, and so far, i am really pleased. They all work except the [] . So i think maybe there is a conflict with another plugin ( i have the snippets-Emu, supertabs, and taglist plugins also. ) The

Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc? After commands like syntax on,still nothing happened. below is my /etc/vim/vimrc,what else should I do to turn the syntax highlighting on? Thanks, shell. set

completion menu colors

2007-04-02 Thread fREW
Hi all, Is there a way to change the completion menu colors? -fREW

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread Xi Juanjie
syntax on should be ok. Please use :version to confirm your vim was compiled with +syntax function and keep the corresponding syntax file in vim runtime folder. Also to check if there has any syntax off in /etc/vim/vimrc.local. wangxu wrote: Why don't I have the syntax highlighting when

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
I checked with :version,it is compiled with the +syntax,and no syntax off in /etc/vim/vimrc.local or files like that. I don't know where the syntax files should be,but there are syntax files in /usr/share/vim/vim70/syntax. Below is the :version result. :version VIM - Vi IMproved 7.0 (2006 May 7,

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread Peter Hodge
Hello, Also you can use :set ft? syntax? to see which filetype has been detected, and which syntax has been activated. regards, Peter --- Xi Juanjie [EMAIL PROTECTED] wrote: syntax on should be ok. Please use :version to confirm your vim was compiled with +syntax function and keep

RE: completion menu colors

2007-04-02 Thread Michael Wookey
Is there a way to change the completion menu colors? See: :help hl-Pmenu :help hl-PmenuSel :help hl-Pmenu-Sbar :help hl-PmenuThumb For example: :highlight Pmenu guibg=DarkRed cheers

Re: completion menu colors

2007-04-02 Thread Peter Hodge
--- fREW [EMAIL PROTECTED] wrote: Hi all, Is there a way to change the completion menu colors? Change the highlighting options for the Pmenu* highlight groups: :hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan guibg=DarkBlue :hi PmenuSel ctermfg=White ctermbg=Blue

Re: completion menu colors

2007-04-02 Thread fREW
On 4/2/07, Peter Hodge [EMAIL PROTECTED] wrote: --- fREW [EMAIL PROTECTED] wrote: Hi all, Is there a way to change the completion menu colors? Change the highlighting options for the Pmenu* highlight groups: :hi Pmenu ctermfg=Cyanctermbg=Blue cterm=None guifg=Cyan guibg=DarkBlue

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
You are right.my runtimepath is wrong. I updated vim to 7.0 using apt-get, but left the old vimrc unchanged. I checked the vimrc and replaced /usr/share/vim/vim63 to /usr/share/vim/vim70, It is OK now. thank you! Peter Hodge wrote: --- wangxu [EMAIL PROTECTED] wrote: the results are

Re: completion menu colors

2007-04-02 Thread panshizhu
fREW [EMAIL PROTECTED] 写于 2007-04-03 10:56:11: Are these things that should be set in the colorschemes, but just aren't yet because the names are new, or what? -fREW This should be set in colorscheme, however, if you're using the default colorschme it is buit-in with Vim and you cannot