vimdiff startup time

2008-10-06 Thread Edward Peschko
hey all, I've been trying to embed vimdiff in an application, but am having a hard time doing so because it takes *so long* for vimdiff to load - 15 seconds or so. Is there any way to cut this down, a 'vimdiff lite' which avoids any startup times? Or maybe an internal diff process for vimdiff (i

alternate vimdiff use

2008-10-06 Thread Edward Peschko
all, Instead of concentrating on vimdiff startup time, I was wondering, maybe, if there was a way to view several 'pairs' of files, ie, instead of: vimdiff file1.old file1.new vimdiff file2.old file2.new I could say: vimdiff -f 'filelist' and then have filelist contain the pairs of files tha

Re: alternate vimdiff use

2008-10-06 Thread Edward Peschko
son <[EMAIL PROTECTED]> wrote: > > On 2008-10-06, Edward Peschko <[EMAIL PROTECTED]> wrote: >> all, >> >> Instead of concentrating on vimdiff startup time, I was wondering, >> maybe, if there was a way to view several 'pairs' of files, ie, >

perldo bug(?)

2008-11-18 Thread Edward Peschko
hey all, I'm trying to build an IDE of sorts using the vim-perl interface. When I do a wincmd inside of perl (VIM::DoCommand()) it seems to lose focus, ie: :perldo if (scalar(VIM::Windows()) > 1) { VIM::DoCommand("wincmd W"); VIM::DoCommand("q"); } ($doc, $num) = (m/>>\s*(\S+)\s*:(\d+)

('|') in perldo

2008-11-18 Thread Edward Peschko
also - how do you represent an or ('|') in a perldo command? Right now, it gives a syntax error; it looks like it short circuits the line rather than represents an or in a regular expression.. Ed --~--~-~--~~~---~--~~ You received this message from the "vim_use"

getting current line for use with perl

2009-03-20 Thread Edward Peschko
all, I was wondering the simplest way of getting the current line for use with perl - ie: if $main::curbuf->Get(42); gets the 42nd line of the given buffer, shouldn't $main::curbuf->Get() # no arguments get the current line where the cursor is at? Or shouldn't there be a $main:: var

extending tags mechanism

2009-06-01 Thread Edward Peschko
All, I'd like to extend the tag stack mechanism to be more 'free flowing'; make it so that it doesn't just locate functions, variables, defines, etc - but instead allows me to do a fulltext regular expression search (of both source and data files) using ':sts ' Is there an easy way to do this? I

Re: extending tags mechanism

2009-06-01 Thread Edward Peschko
ed in the minibuffer the same way currently does.. Ed On Mon, Jun 1, 2009 at 7:41 PM, Edward Peschko wrote: > All, > > I'd like to extend the tag stack mechanism to be more 'free flowing'; > make it so that it doesn't just locate functions, variables, defines, &g

Re: extending tags mechanism

2009-06-02 Thread Edward Peschko
search using vim. Instead, I'd like to preprocess the project so that it is easily searchable using the helper program in point 2 (and if it is encoded right, saving minutes on the search. Ed On Mon, Jun 1, 2009 at 9:55 PM, John Beckett wrote: > > Edward Peschko wrote: >> just t

Re: extending tags mechanism

2009-06-02 Thread Edward Peschko
> > So, you want to take all the lines in all the files in your project > and put them into one file, with each line preceded by its file name > and line number? well, yes - sort of. I'd like to put them in one file (file format indeterminate) in such a way that a supporting program could do the

Re: extending tags mechanism

2009-06-02 Thread Edward Peschko
>> I could probably think of more, but you get the idea. Having such an index >> is a life-saver; I've used it before on projects but would like the >> functionality accessible via vim, that's all. > > I think the :grep command along with the rest of the quickfix > features meets all those requir

conditional mapping of keystrokes

2009-06-02 Thread Edward Peschko
All, Is it possible to make a keyboard mapping in a conditional context? I was thinking about it a bit more, and I would like to make h,j,k,l all work differently in a quick-fix context, to support the grepping tool that I was talking about (ie: j is bound to 'j-return CTRL-W W CTRL-W W' to get

Re: conditional mapping of keystrokes

2009-06-02 Thread Edward Peschko
> I'm not sure I understand what you're trying to do, but why are you > using w to get back to the quickfix window, instead of using > :copen ? Seems like the former will fail in multiwindow layouts, and > the latter won't. Matt, Good point, that works a lot better.. Still, I'd need a way to ma

java debugging environment for vim

2009-06-03 Thread Edward Peschko
Ok, I've gotten pdb up and running - and it looks good - now I'd like to get something similar up and running for java (simple tracing of code, variable printing, etc) Is there an integrated development environment for java available? Hard to believe, but searching on google isn't giving me much

Re: java debugging environment for vim

2009-06-03 Thread Edward Peschko
Alessandro, Well, I was looking more for integration with jdb. it looks like the project handles omnicompletion , etc with java, not with integration. In addition, it doesn't look like it compiles cleanly on either centos linux or solaris.. Ed On Wed, Jun 3, 2009 at 2:55 PM, Alessandro Antonel

Re: java debugging environment for vim

2009-06-03 Thread Edward Peschko
On Wed, Jun 3, 2009 at 4:44 PM, Edward Peschko wrote: > Alessandro, > > Well, I was looking more for integration with jdb. it looks like the > project handles omnicompletion , etc with java, not with ingegration. ( ps - make that 'no

'headless' gvim, or netbeans for regular vim

2009-06-05 Thread Edward Peschko
hey all, I would like to use clewn (http://linux.softpedia.com/progScreenshots/Clewn-Screenshot-31265.html) in an environment that does not have a display (X or otherwise), ie: under a 'screen' session over an ssh shell. Is it possible to build gvim in such a way that it does not actually render

writing own ex commands

2009-06-07 Thread Edward Peschko
All, I'm a bit puzzled - I can see how to write my own functions, and map my own keys, but I don't see offhand how to write my own 'ex' commands.. Is this a simple oversight? I'd like to be able to program :pgrep in terms of new, grep and copen. I would have thought that this was trivial, but

Re: 'headless' gvim, or netbeans for regular vim

2009-06-07 Thread Edward Peschko
Agathoklis, Was this patch a recent one? It doesn't seem to apply cleanly to vim72.. Bram, any chance of it being added to the regular distribution? Ed On Sat, Jun 6, 2009 at 5:46 AM, Agathoklis D. Hatzimanikas wrote: > > On Fri, Jun 05, at 09:32 Edward Peschko wrote: >> &g

function argument substitution

2009-06-07 Thread Edward Peschko
Ok, this is really confusing me: fun! Pgrep(patten) echo a:pattern call Pgrep('hello') * dutifully echoes hello. fun Pgrep(pattern, file) grep a:pattern a:file * a:file -- no such file or directory. Exactly why is echo substituting arguments when grep is not? Ed --~--~-~--

making quickfix and other 'read only' buffers writable.

2009-06-08 Thread Edward Peschko
All, More questions - is it possible to make a quickfix buffer (or other 'readonly' buffer) writable? I don't necessarily want to write *out* the buffer, but I definitely want to modify the buffer to get rid of stuff that I don't want to see (eg. 'errors' which aren't really errors used by :make

Re: making quickfix and other 'read only' buffers writable.

2009-06-08 Thread Edward Peschko
> Are you sure it says "readonly"?  When I try to modify the quickfix > window, the error is "E21: Cannot make changes, 'modifiable' is > off".  To get around that, just ":set modifiable". yeah, that was it.. > > If the problem is that you're getting messages from make that aren't > errors, the s

automatically entering quickfix mode

2009-06-18 Thread Edward Peschko
All, i'm trying to make a file with a specific extension be automatically interpreted as a quickfix file (ie: so I don't have to type -q every time I open one of them). So far, I have: au BufNewFile, BufReadPost *.lst \ set buftype=quickfix | \ set filetype=qf | \ set syntax=qf | \set errorform

opengrok vim interface..

2009-07-17 Thread Edward Peschko
hey all, I was wondering if there was a opengrok (http://src.opensolaris.org/source/help.jsp) interface to vim that anybody has built. Opengrok - an open source indexer - blows grep out of the water in so, so many ways, and I'd like to use it, especially with quickfix windows. You can index 10GB

Re: opengrok vim interface..

2009-07-17 Thread Edward Peschko
Marc, Just curious but does it have an omnicompletion component? (I'll download it and check, but it'd be good to get a quick overview of what it offers and how you use it in your daily workflow) Ed On Fri, Jul 17, 2009 at 3:00 PM, Marc Weber wrote: > > Hi Edward > > Excerpts from Edward Peschk

Re: opengrok vim interface..

2009-07-20 Thread Edward Peschko
> gunid utils only stores keywords. It doesn't distinguish between > different types of words such as functions, classes etc. > > But it looks the engine you proposed can do more that why I'm interested > in it. Writing an interface for it should be easy. yeah, I noticed that idutils didn't do q

disabling hit return in programming grep.

2009-08-07 Thread Edward Peschko
All, I'm trying to make a macro around grep that makes a new window before doing the grep command. So far, so good, but how do you actually disable the RETURN key? I've got something workable, but after every call to an external function a :grep window comes up prompting me to press return. How

Re: disabling hit return in programming grep.

2009-08-08 Thread Edward Peschko
Ni On Sat, Aug 8, 2009 at 12:32 AM, Karthick wrote: > > On Aug 8, 10:11 am, Edward Peschko wrote: >> [...] >> So far, so good, but how do you actually disable the >> RETURN key? I've got something workable, but after >> every call to an external function a :g

underscores in command names.

2009-08-08 Thread Edward Peschko
hey all, I just tried to define a bunch of commands in vim, all having '_' as a delimiter, ie: command! GREP_WORD .. command! GREP_FILE .. and got E182: Invalid command name This seems to be due to the underscore. Are underscores not allowed in command names? And if so, why? I'd like to have

Re: underscores in command names.

2009-08-09 Thread Edward Peschko
> On Aug 8, 6:31 pm, Edward Peschko wrote: >> This seems to be due to the underscore. Are underscores not allowed in >> command names? And if so, why? I'd like to have multiple 'modules', >> commands that all have the same prefix, followed by underscor

automating search via :normal

2009-08-12 Thread Edward Peschko
hey all, I've been automating vim lately, and am running into a curious limitation. I try: :normal /pattern and vim does not pick this up and do the search as expected. But :normal j or any other key combo DOES work as expected. Why? Ed --~--~-~--~~~---~--~~

Re: automating search via :normal

2009-08-12 Thread Edward Peschko
> :normal /pattern^M where you get ^M by pressing + Enter. > Or use exe: > :exe "normal /pattern\" > > Or may be even feedkeys: > :call feedkeys("/pattern\n") > Christian, First of all, thanks for the suggestions. feedkeys in fact does work, but exe "normal /pattern" with or without does not.

Re: automating search via :normal

2009-08-12 Thread Edward Peschko
First of all, thanks for the suggestions. feedkeys in fact does work, > but exe "normal /pattern" with or without does not. > Strange. I'm using 7.2 vim.. Did you put the backslash in front of ? regards, Christian Ok, yes, a backslash works w/normal. But I'm still confused - why doesn't any t

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 the

Re: completion and caching

2011-06-29 Thread Edward Peschko
Bill, Thanks, neocomplcache looks powerful, I'll give it a try. But why doesn't vim completion do this by default? As it stands, the completion for vim is not feasible for projects that pull in more than a couple of libraries, and perhaps I'm using the functionality incorrectly. I'd rather have

Re: Emacs' Org-mode clone for Vim

2010-11-26 Thread Edward Peschko
Herb, Could you possibly give links of the videos which you found most effective? There are a bunch of videos there, would be good to know where to start.. Ed -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more

hiding lines in copen windows, quickfix questions.

2010-12-07 Thread Edward Peschko
All, I've been using quickfix mode as a very effective debugger - what I do is record the program that I'm running and append the output to a file with 2 or 3 arguments. Given this as input of code: for ($xx = 0; $xx < 10; $xx++) { $yy+= $xx; } I get a quick fix window that

vimchat

2013-11-18 Thread Edward Peschko
All, I was wondering if anybody as gotten this to work and/or uses this? If so, does it work with Yahoo IM? I see on a directions page at: http://code.google.com/p/vimchat/wiki/JabberTransports which displays the attached non-instructions. Given how non-functional finch and centerIM are, ha

Re: vimchat

2013-11-21 Thread Edward Peschko
IM. > I have done it with IRC and AIM in the past. > > Regards, > Naveed > > > > On Mon, Nov 18, 2013 at 2:53 PM, Edward Peschko wrote: >> >> All, >> >> I was wondering if anybody as gotten this to work and/or uses this? If >> so, does it work w