Re: Substitute within a highlight group.

2011-01-18 Thread Christian Brabandt
On Tue, January 18, 2011 8:40 am, sergio wrote: On 01/18/2011 05:55 AM, David Fishburn wrote: GOTO zone serial ^^ :SRChooseHiGrp You simply run those commands from within your script. Have you tried it? No. Because I don't know how to select zoneSerial group from

How to select range of characters

2011-01-18 Thread björn
Hi, I'm trying to figure out how to select a given range of characters. Say I want to select characters 10-20. The following 10gov20go will do the trick for 8 bit encoded files. The question is: how can I make this work for all encodings (i.e. where 1 character != 1 byte)? Björn -- You

Re: How to select range of characters

2011-01-18 Thread Ben Schmidt
On 18/01/11 9:40 PM, björn wrote: Hi, I'm trying to figure out how to select a given range of characters. Say I want to select characters 10-20. The following 10gov20go will do the trick for 8 bit encoded files. The question is: how can I make this work for all encodings (i.e. where 1

Remove one call from nested function calls?

2011-01-18 Thread Dennis Benzinger
Hello! How can I remove one call from nested function calls? For example if I want to remove the call to function b from a(b(c(1), 2), 3) so that I get either a(3) (Deleting the call and the parameters) or a(c(1), 2, 3) (Deleting only the call and keeping the parameters). Thanks in advance,

Re: Remove one call from nested function calls?

2011-01-18 Thread Tim Chase
On 01/18/2011 08:23 AM, Dennis Benzinger wrote: How can I remove one call from nested function calls? For example if I want to remove the call to function b from a(b(c(1), 2), 3) so that I get either a(3) (Deleting the call and the parameters) or a(c(1), 2, 3) (Deleting only the call and

Re: Remove one call from nested function calls?

2011-01-18 Thread Dennis Benzinger
Hi Tim! Original-Nachricht Datum: Tue, 18 Jan 2011 08:44:24 -0600 Von: Tim Chase v...@tim.thechases.com An: vim_use@googlegroups.com CC: Dennis Benzinger dennis.benzin...@gmx.net Betreff: Re: Remove one call from nested function calls? On 01/18/2011 08:23 AM, Dennis

Re: Remove one call from nested function calls?

2011-01-18 Thread Jürgen Krämer
Hi, Dennis Benzinger schrieb: How can I remove one call from nested function calls? For example if I want to remove the call to function b from a(b(c(1), 2), 3) so that I get either a(3) (Deleting the call and the parameters) or a(c(1), 2, 3) (Deleting only the call and keeping the

Vim on Jornada 720

2011-01-18 Thread Sven Schiffner
Hello,I search a version of Vim, that works with WindowsCE 3.00 on my Jornada 720 with ARM-Processor. On the Internet I have found VimCE, but the website is down. Can everyone give me a Vim, thats works?Sorry, if my English is bad, but I am from Germany.Many GreetingsGuinea Pig Owner Empfehlen

bufnr('#') inconsistent?

2011-01-18 Thread Randy Morris
Hello all, I am currently writing a buffer explorer type of plugin and am finding that in at least one specific use case bufnr('#') is wrong. I was hoping someone may be able to shed some light as to if it's just my interpretation that is wrong. vim -u NONE --noplugin :echo bufnr('%') = 1 :echo

Re: Not VIM but vim_use related

2011-01-18 Thread sc
On Tuesday 18 January 2011 12:20:42 you wrote: sc wrote: (even though it is a GEcko based almost FireFox clone from Mozilla). So I am limited to YAHOO classic as far as mail filters ... And even those filters seem to not work. in yahoo classic, over on the right, notice 'Options',

Re: ZoomWin plugin does not work as expected

2011-01-18 Thread Charles Campbell
talek wrote: Hi, I have installed ZoomWin plugin (http://vim.sourceforge.net/scripts/ script.php?script_id=508) which does a great job maximizing/restoring the current vim window. However, for my layout it doesn't work correctly. The following script may be used to reproduce the bug:

python time.strptime: _strptime not found

2011-01-18 Thread AK
I'm having a strange intermittent problem with vim7.3's python on Ubuntu 10.04. When I start it up, my script that uses time.strptime works just fine. However, after a few hours, for no discernible reason, it stops working and time.strptime complains that _strptime is not found. After a vim

Omni Complete

2011-01-18 Thread flyman
I’ve struggled with this for a few days now and not making much progress. I want to write my own autocomplete function for a file type. What I want to do is: I position just after entering the word “if”. I press CTL-X CTL-O, and I want vim to change my file to look like this : If cond Else

Nasty artifacts in cyrillic comments (image provided)

2011-01-18 Thread Coob
Hello! http://i890.photobucket.com/albums/ac105/cubius/screenshots/bad.png As u can see on the screenshot characters are kinda cut with vertical lines. It makes comments unreadable. Can u please give an advice on this? -- You received this message from the vim_use maillist. Do not top-post!

Re: ZoomWin plugin does not work as expected

2011-01-18 Thread Alec Tica
Great! Thanks a lot for this new version! I've made a few tests and it zooms in/out the correct window this time. However, there's a little annoying thing I've just noticed. To better describe what it is let's change the above script as following: botright 25 split e bottom.win call append(0, I'm

Re: ZoomWin plugin does not work as expected

2011-01-18 Thread Charles Campbell
Alec Tica wrote: Great! Thanks a lot for this new version! I've made a few tests and it zooms in/out the correct window this time. However, there's a little annoying thing I've just noticed. To better describe what it is let's change the above script as following: botright 25 split e bottom.win

Re: Omni Complete

2011-01-18 Thread Marc Weber
Stop struggling and use either snipMate or xptemplate. completion is not the best choice for this. https://github.com/MarcWeber/snipmate.vim (my fork adds some features)) http://www.vim.org/scripts/script.php?script_id=2611 If you want to try many plugins I recommend getting started using

Re: gtk gvim on macosx doesn't handle -geometry completely

2011-01-18 Thread raf
sc wrote: On Monday 17 January 2011 18:40:50 raf wrote: hi, i have recently been forced to use the gtk version of gvim on macosx and am desperately wishing to be able to start it and have it appear with the size and position of my choice automatically without me having to aim the

Re: gtk gvim on macosx doesn't handle -geometry completely

2011-01-18 Thread raf
John Little wrote: is there any reason that it doesn't do this? Well, I know little about Mac OSX, but in principle for window placement the window manager gets the final say. Regards, John thanks but that's not the issue. the motif/athena versions of gvim were perfectly capable of

Re: Omni Complete

2011-01-18 Thread Marc Weber
Excerpts from Bryan Hunt's message of Wed Jan 19 01:30:18 +0100 2011: A question also, if I may. Is snipmate or are any of the vim template approaches capable of referencing variables, the base file name, for example. Yes. snipmate: `any-vim-code` See its documentation. I do no longer recall

Re: Not VIM but vim_use related

2011-01-18 Thread Robert Holtzman
On Tue, Jan 18, 2011 at 01:21:31PM -0600, sc wrote: On Tuesday 18 January 2011 12:20:42 you wrote: snip i use yahoo but have never set up a filter there -- my experience is with mail filters for kmail -- with kmail, and i suspect every mail client, you need a filter

Re: Compiling Vim with X on Mac

2011-01-18 Thread Bram Moolenaar
Ben Schmidt wrote: Finally getting around to compiling Vim 7.3, and taking a little more interest in the mailing list again. Would love to get back into Vim development again if I can find time. I use Vim in X on the Mac (gtk2), as well as in the console, as well as MacVim. Building for X

Re: Compiling Vim with X on Mac

2011-01-18 Thread Bram Moolenaar
Ben Schmidt wrote: - netbeans.pro uses the type BalloonEval which is not included if no X11 headers are; I worked around this by adding typedef void to the .c files that #define NO_X11_INCLUDES. It's a nasty hack, but I haven't fiddled with the Vim source code for so long I

Re: gtk gvim on macosx doesn't handle -geometry completely

2011-01-18 Thread Ben Schmidt
i have recently been forced to use the gtk version of gvim on macosx and am desperately wishing to be able to start it and have it appear with the size and position of my choice automatically without me having to aim the the mouse and click in order to position it. with the motif and athena

Re: bufnr('#') inconsistent?

2011-01-18 Thread Ben Schmidt
On 19/01/11 5:44 AM, Randy Morris wrote: Hello all, I am currently writing a buffer explorer type of plugin and am finding that in at least one specific use case bufnr('#') is wrong. I was hoping someone may be able to shed some light as to if it's just my interpretation that is wrong. vim -u

Re: Compiling Vim with X on Mac

2011-01-18 Thread Ben Schmidt
Another thing that's causing a bit of trouble is src/auto/config.mk. A 'stub file' is in version control, but it gets regenerated during the build, so always shows up as a modified file. Then it has to be avoided when commiting changes locally or updating to different points in history, etc..

iab : why i inserts space ?

2011-01-18 Thread Jean-Francois
Hi, I use the following abbrev but I don't understand why it inserts a space between ' and .html so I got {% extends ' .html' %} iab ,ex, {% extends '.html' %}ESCi Thanks for your help ! -- You received this message from the vim_use maillist. Do not top-post! Type your reply below

Re: iab : why i inserts space ?

2011-01-18 Thread Tony Mechelynck
On 19/01/11 04:59, Jean-Francois wrote: Hi, I use the following abbrev but I don't understand why it inserts a space between ' and .html so I got {% extends ' .html' %} iab ,ex, {% extends '.html' %}ESCi Thanks for your help ! ,ex, (comma small-e small-x comma) is a non-id

Re: ZoomWin plugin does not work as expected

2011-01-18 Thread talek
Hi Chip, You're right, I have a special setting in my .vimrc. With a minimal .vimrc this behavior does not happen. Yet, as far as I could test, the problem occurs as soon as I set nowrap in may .vimrc. Is it something special with this settings in connection with ZoomWin plugin? Thanks! -- You