Re: how can I add this feature to vim!!

2007-06-01 Thread Michael F. Lamb
jaywee wrote: *! Swap caps lock and escape, good for Vim remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock *to a file named .speedswapper to the home directory, and run *xmodmap ~/.speedswapper* in a terminal, I follow the guide and finally done! bu

Flashing omnicomplete menu

2007-05-16 Thread Michael F. Lamb
In gVim (and console vim) 7.0 under linux, when using omnicomplete with a large list of choices, scrolling through the list causes the whole omnicomplete menu to be cleared and redrawn, which creates an annoying "flashing" effect. Is this a bug? Is there a way to fix this?

Mercurial + vimhelp = vimwiki? (was VimWiki - again...)

2007-05-07 Thread Michael F. Lamb
This is the third time I've heard mumblings about a vimwiki. Who makes the final decision about which of our great ideas to implement? Will this system exist de jure or de facto? IOW will Bram bless something, or will the semi-official Vim wiki be the first one to be steps up and hosted by somebody

Re: A nice efm for javac

2007-05-07 Thread Michael F. Lamb
> however I don't fully understand the line move part of the sed script, > can you explain what the results of the sed script would be on the > previous javac error for example? Oh, maybe you wanted me to explain the sed script itself? /\^$/s/\t/\ /g;/:[0-9]\+:/{h;d};/^[ \t]*\^/G; is t

Re: A nice efm for javac

2007-05-07 Thread Michael F. Lamb
On Mon, May 07, 2007 at 04:33:37PM +0200, Warren Crossing wrote: > even tried it with javac 1.5 I'm sortof baffled; it works for me, java 1.6 and 1.5 alike. May I send you a screenshot? The contents of my quickfix window look like this on code trying to resemble yours: src/main/java/ntc/m

Re: A nice efm for javac

2007-05-07 Thread Michael F. Lamb
On Mon, May 07, 2007 at 10:38:21AM +0200, Warren Crossing wrote: >>> Thanks for that, I am using the efm but finds it drops the first >>> line of the first error. > Ok, I dont profess to know much about efm vim etc but I changed the %Z > to %A and it now gets the new line. something about multilin

Re: A nice efm for javac

2007-04-17 Thread Michael F. Lamb
> I like to keep the name in, so that when later changes > are suggested we know who wrote the original. I don't mind that either :) >>after the pointer line. That way, the unused error >>text between doesn't break vim's notion of a >>"multi-line message" and also doesn't force us to

Re: A nice efm for javac

2007-04-17 Thread Michael F. Lamb
>> I've put some spare time into an errorformat string and a filter >> script which makes plain-old javac compilation nicer than the >> examples from :help errorformat-javac > > Assuming this works well, it's only for Unix. Thus I would add it > to ":help errorformat-javac" instead of replacing t

A nice efm for javac

2007-04-11 Thread Michael F. Lamb
Hello, I've put some spare time into an errorformat string and a filter script which I think makes plain-old javac compilation (read: not using JUnit, not using Ant) quite a bit nicer than the examples from :help errorformat-javac, without being too heavy or complicated. I've tested this with only

Automatically delete .swp file?

2007-03-29 Thread Michael F. Lamb
Hello all, When I see the "swapfile exists" warning in vim, I choose (R)ecover, then write to a temporary file, diff the new file with the old, find that there are no differences, then delete the temporary and .swp files. I'd like to avoid this procedure when (as is the case more often than n

Re: hosting wiki tips

2007-03-24 Thread Michael F. Lamb
Bram Moolenaar wrote: Martin Krischik wrote: Doesn't Vim have a SourceForge page? Because SF is currently beta testing Wikis [1]. Advantage here: We don't need to install anything. We just have to wait for the beta to end. I'd agree that a hosted solution is much nicer than one which some com

gtk+ gvim and dwm

2007-03-13 Thread Michael F. Lamb
Hello, I'm using the 'dwm' window manager in "tiled layout," which enforces a fixed-size window. http://www.suckless.org/wiki/dwm Using gtk+ gvim 7.0.122, with some combinations of guifont and guioptions settings, the vim command line ends up half-outside its window. It seems like it miscalc