Re: How to vim a class file in a jar file with the java decompiler executed?

2006-07-11 Thread Yakov Lerner
On 7/11/06, ERIC HO <[EMAIL PROTECTED]> wrote: Hi Tom, thanks. But it does not edit the class file with correct path name which is zipfile:/path_jarfile::classfile. But even I used fully path name as above for :e. It still did not invoke the decompiler. Just like I pressed enter without enteri

Re: language menu

2006-07-11 Thread Yakov Lerner
On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: Normally the language of my vim's menu is Italian. How can I change it to English? Many thanks in advance, Which OS is that ? Yakov

Vim6.4: Some weird matching highlight

2006-07-11 Thread Johnathan
Hi there When editing some .cc files (no apparent pattern), I seem to get some weird can't-be-turned-off red highlighting. Some code snippet: 1 int main() 2 { 3 if (1=1) 4 [ 5 fail.push_back(students[i]); 6 else 7

Re: Vim6.4: Some weird matching highlight

2006-07-11 Thread Jürgen Krämer
Hi, Johnathan wrote: > > When editing some .cc files (no apparent pattern), I seem to get some > weird can't-be-turned-off red highlighting. Some code snippet: > > >1 int main() >2 { >3 if (1=1) >4 [ >5 fail.push_back(students[i

erase|delete misbehavior

2006-07-11 Thread Timothy Stone
List. I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the Terminal.app. I have the standard "Apple Pro Keyboard." Yesterday, I installed the X11 package, to play with the FreeNX client. Today, when in vi, my delete (^?) key is wacked--the "other" delete (^ [[3~) works. This was not the c

Re: erase|delete misbehavior

2006-07-11 Thread Yakov Lerner
On 7/11/06, Timothy Stone <[EMAIL PROTECTED]> wrote: List. I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the Terminal.app. I have the standard "Apple Pro Keyboard." Yesterday, I installed the X11 package, to play with the FreeNX client. Today, when in vi, my delete (^?) key is wacked--the

Re: erase|delete misbehavior

2006-07-11 Thread Timothy Stone
On Jul 11, 2006, at 8:59 AM, Timothy Stone wrote: I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the Terminal.app. I have the standard "Apple Pro Keyboard." Yesterday, I installed the X11 package, to play with the FreeNX client. Today, when in vi, my delete (^?) key is wacked--the "o

Re: erase|delete misbehavior

2006-07-11 Thread Yakov Lerner
On 7/11/06, Timothy Stone <[EMAIL PROTECTED]> wrote: On Jul 11, 2006, at 8:59 AM, Timothy Stone wrote: > I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the > Terminal.app. I have the standard "Apple Pro Keyboard." > > Yesterday, I installed the X11 package, to play with the FreeNX > client.

Re: erase|delete misbehavior

2006-07-11 Thread Yakov Lerner
On 7/11/06, Timothy Stone <[EMAIL PROTECTED]> wrote: I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the Terminal.app. I have the standard "Apple Pro Keyboard." Yesterday, I installed the X11 package, to play with the FreeNX client. Today, when in vi, my delete (^?) key is wacked--the "other

R: language menu

2006-07-11 Thread Cesar Romani
> -Messaggio originale- > Da: Yakov Lerner [mailto:[EMAIL PROTECTED] > Inviato: martedì 11 luglio 2006 11.08 > A: Cesar Romani > Cc: vim > Oggetto: Re: language menu > > On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > > Normally the language of my vim's menu is Italian. > > How can

How can I substitute on several files?

2006-07-11 Thread Jeremy Conlin
Hello all. I have several files where I want to make the same substitution. I can make the substitute command work on a single file, but I want to make it work on all the files. I have the files loaded in buffers in vim. Any suggestions? Thanks, Jeremy

Re: How can I substitute on several files?

2006-07-11 Thread Wim R. Crols
Jeremy Conlin wrote: Hello all. I have several files where I want to make the same substitution. I can make the substitute command work on a single file, but I want to make it work on all the files. I have the files loaded in buffers in vim. Any suggestions? Thanks, Jeremy You can use the :

Re: How can I substitute on several files?

2006-07-11 Thread Christian MICHON
:set hidden :argdo %s///ge On 7/11/06, Jeremy Conlin <[EMAIL PROTECTED]> wrote: Hello all. I have several files where I want to make the same substitution. I can make the substitute command work on a single file, but I want to make it work on all the files. I have the files loaded in buffers

Re: erase|delete misbehavior [CLOSED]

2006-07-11 Thread Timothy Stone
On Jul 11, 2006, at 9:35 AM, Yakov Lerner wrote: On 7/11/06, Timothy Stone <[EMAIL PROTECTED]> wrote: I'm on a iMac G5 (Mac OS X 10.4.7). vim 6.2, using the Terminal.app. I have the standard "Apple Pro Keyboard." Yesterday, I installed the X11 package, to play with the FreeNX client. Toda

Re: How can I substitute on several files?

2006-07-11 Thread Tim Chase
Hello all. I have several files where I want to make the same substitution. I can make the substitute command work on a single file, but I want to make it work on all the files. I have the files loaded in buffers in vim. Any suggestions? Sounds like you're looking for bufdo (and perhaps late

Re: Re: How can I substitute on several files?

2006-07-11 Thread Jeremy Conlin
On 7/11/06, Tim Chase <[EMAIL PROTECTED]> wrote: > Hello all. I have several files where I want to make the same > substitution. I can make the substitute command work on a single > file, but I want to make it work on all the files. I have the files > loaded in buffers in vim. Any suggestions

Re: R: language menu

2006-07-11 Thread Yakov Lerner
On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > -Messaggio originale- > Da: Yakov Lerner [mailto:[EMAIL PROTECTED] > Inviato: martedì 11 luglio 2006 11.08 > A: Cesar Romani > Cc: vim > Oggetto: Re: language menu > > On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > > Normally t

Re: register problem

2006-07-11 Thread Benji Fisher
On Sun, Jul 09, 2006 at 04:12:49PM +, Yakov Lerner wrote: > On 7/9/06, Matthias-Christian Ott <[EMAIL PROTECTED]> wrote: > >Yakov Lerner wrote: > >> This is wrong. > >> You want "\n", not '\n'. > >Ok, but the problem still exists. > > >vnoremap :call FormatDeclarationSelection () > > > >

Re: Vim problems on Centos-4

2006-07-11 Thread Benji Fisher
Do not have too much faith in RH. Several years ago, they included an alpha version of vim (6.0z, I think) in their release, and linked it to /bin/vi (or maybe /usr/bin/vi ). The last time I checked, the system vimrc file they included was seriously crufty. Have a look at the system vi

why does this mapping interpret the literal and not work?

2006-07-11 Thread Arias Hung
When attempting to create a mapping for my muttng.vim file I add the following :nmap zz w! however it interprets it literally like: w! instead of interpreting the return . Anyone know why? pgpTZvXJCX0eb.pgp Description: PGP signature

Re: [VIM] Anyway to disable the autocmd group and then enable it?

2006-07-11 Thread Benji Fisher
On Tue, Jul 11, 2006 at 05:54:01AM +0300, Yakov Lerner wrote: > On 7/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >It is possible to remove all autocmds in the autogroup. However, when I > >want to temperilly "disable" the autogroup, and "enable" it in the future. > >I need to copy the sou

Re: Vim7.0 isntallation in the Unix/Solaris

2006-07-11 Thread Benji Fisher
More precisely, edit src/Makefile . IIRC, there is also a Makefile in the top-level directory. HTH --Benji Fisher On Tue, Jul 11, 2006 at 01:54:44PM +0800, [EMAIL PROTECTED] wrote: > Edit the Makefile directly. > > Hope that helps. > -- > Sincerely, Pan,

Re: why does this mapping interpret the literal and not work?

2006-07-11 Thread James Vega
On Tue, Jul 11, 2006 at 07:50:43AM -0700, Arias Hung wrote: > When attempting to create a mapping for my muttng.vim file I add the > following > > :nmap zz w! > > however it interprets it literally like: > > w! > > instead of interpreting the return . Anyone know why? You've made a normal mo

Re: why does this mapping interpret the literal and not work?

2006-07-11 Thread Benji Fisher
On Tue, Jul 11, 2006 at 07:50:43AM -0700, Arias Hung wrote: > When attempting to create a mapping for my muttng.vim file I add the > following > > :nmap zz w! > > however it interprets it literally like: > > w! > > instead of interpreting the return . Anyone know why? :verbose set compatible

Re: why does this mapping interpret the literal and not work?

2006-07-11 Thread Yakov Lerner
On 7/11/06, Arias Hung <[EMAIL PROTECTED]> wrote: When attempting to create a mapping for my muttng.vim file I add the following :nmap zz w! however it interprets it literally like: w! instead of interpreting the return . Anyone know why? You need :set nocompatible (aka :set nocp) for that

Re: Vim7.0 isntallation in the Unix/Solaris

2006-07-11 Thread Yakov Lerner
On 7/11/06, SHANKAR R-R66203 <[EMAIL PROTECTED]> wrote: Hi, I am installing Vim in Unix and Solaris In which file do I configure, to enable perl, python etc. Do './configure --help' and in the output, search for perl and python. You enable those build options like this: ./configure -

Re: Accute accent problem

2006-07-11 Thread Eric Guindon
Actually, it turns out that Yakov's suggestion was correct. When I re-entered vim subsequently the problem was solved. The mapping worked once vim had reset itself. Thanks! Eric On 7/10/06, Luc Hermitte <[EMAIL PROTECTED]> wrote: Hello, * On Sun, Jul 09, 2006 at 09:06:34PM -0400, Eric Guindo

R: R: language menu

2006-07-11 Thread Cesar Romani
> -Messaggio originale- > Da: Yakov Lerner [mailto:[EMAIL PROTECTED] > Inviato: martedì 11 luglio 2006 16.01 > A: Cesar Romani > Cc: vim > Oggetto: Re: R: language menu > > On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > > > > > -Messaggio originale- > > > Da: Yakov Lerner [

Re: R: R: language menu

2006-07-11 Thread Yakov Lerner
On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > -Messaggio originale- > Da: Yakov Lerner [mailto:[EMAIL PROTECTED] > Inviato: martedì 11 luglio 2006 16.01 > A: Cesar Romani > Cc: vim > Oggetto: Re: R: language menu > > On 7/11/06, Cesar Romani <[EMAIL PROTECTED]> wrote: > > > > > --

Re: Access to undo/redo stack

2006-07-11 Thread John Reese
On 7/10/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 7/11/06, John Reese <[EMAIL PROTECTED]> wrote: > So it seems to me that it would be interesting, sometimes, to be able > to type some colon-mode command and see the whole stack of undo and > redo commands and your current position. At curren

Re: Remapping - how to get the count

2006-07-11 Thread Tim Chase
I want to remap Ctrl-A (normal mode) to do something similar with other data, e.g. :nmap ciw=IncRoman(@-) Now if a count is provided this will mess up the text, e.g. 10 does 10ciw... What is a good way to catch the count and make it available to the function call? Well, after hacking at it

Error when running :Explore

2006-07-11 Thread Curtis Spencer
I am getting a transient error with vim 7.0.17 when I run :Explore. I get this error text: Error detected while processing function 31_Highlight_Matching_Pair E316: ml_get: cannot find line 8 and then I get a stream of E316s with increasing line #'s. Anyone see this before? -- Thanks, Curtis

Re: Script to surround text with ()

2006-07-11 Thread Vigil
One thing about this script is that it chucks the cursor to the end of the word. I wonder if there is a temporary mark we could use to save and restore the cursor position, or some other way that doesn't move it? -- .

Re: Error when running :Explore

2006-07-11 Thread Bram Moolenaar
Curtis Spencer wrote: > I am getting a transient error with vim 7.0.17 when I run :Explore. > > I get this error text: > Error detected while processing function 31_Highlight_Matching_Pair > > E316: ml_get: cannot find line 8 > > and then I get a stream of E316s with increasing line #'s. > >

highlight the cursorline

2006-07-11 Thread Raphael Brunner
Dear Users, is there a possibility to highlight the whole line where the cursor is? the idea is, I could better see the whole line in a special file. Thanks for all your help. Raphael

Re: highlight the cursorline

2006-07-11 Thread Michael Naumann
On Tuesday 11 July 2006 23:26, Raphael Brunner wrote: > Dear Users, > > is there a possibility to highlight the whole line where the cursor is? > the idea is, I could better see the whole line in a special file. > > Thanks for all your help. > Raphael > > If you have vim7 you can try :set cul

Re: perlcomplete.vim -- anyone working on this?

2006-07-11 Thread Vigil
This is perfect - thank you! One issue, though (although I suspect this is more to do with vim): it did not recognise a (locally defined) sub whose filename contained an underscore. On Mon, 10 Jul 2006, Hakim Cassimally wrote: On 28/05/06, Vigil <[EMAIL PROTECTED]> wrote: > I would just like

Re: perlcomplete.vim -- anyone working on this?

2006-07-11 Thread Dr Bean
On Tue, 11 Jul 2006, Vigil wrote: > This is perfect - thank you! > One issue, though (although I suspect this is more to do with vim): it did > not recognise a (locally defined) sub whose filename contained an > underscore. You mean the sub name contained an underscore? Perl::Tags finds subs

Re: Vim problems on Centos-4

2006-07-11 Thread dave--uk
In the end I found the problem - and this did help, but not as I expected. It was actually in /etc/profile.d/vim.*. If the uid>100 vi is aliased to vim (so I get all the nice features) otherwise it's not and I dont. That's why I sometimes got the nice stuff and sometimes didn't. RH9 did a simpl

Error detected while processing BufRead Auto commands for "httpd.conf*": E492:Not an editor command. (fix) (Centos-4)

2006-07-11 Thread dave--uk
Having installed vim7.0, I'm getting the following error when I open httpd.conf Error detected while processing BufRead Auto commands for "httpd.conf*": E492: Not an editor command: auth_mysql.conf*,auth_pgsql.conf*, ssl.conf*,perl.conf*,php.conf*,python.conf*,squirrelmail.conf* call s :StarSetf(

Autoselect language for spell

2006-07-11 Thread Luis A. Florit
Pals, Is there an easy way to autoselect language for the builtin spell checker in vim 7.0? Vimspell plugin has this functionality: the plugin looks for a specified number of lines and try to guess which language should it use. Thanks! Luis.

Re: Script to surround text with ()

2006-07-11 Thread Benji Fisher
On Tue, Jul 11, 2006 at 09:24:03PM +0100, Vigil wrote: > One thing about this script is that it chucks the cursor to the end of the > word. I wonder if there is a temporary mark we could use to save and > restore the cursor position, or some other way that doesn't move it? Perhaps some of t

Re: Error detected while processing BufRead Auto commands for "httpd.conf*": E492:Not an editor command. (fix) (Centos-4)

2006-07-11 Thread Benji Fisher
On Wed, Jul 12, 2006 at 01:49:57AM +0100, dave--uk wrote: > Having installed vim7.0, I'm getting the following error when I open > httpd.conf > > Error detected while processing BufRead Auto commands for "httpd.conf*": > E492: Not an editor command: auth_mysql.conf*,auth_pgsql.conf*, > ssl.conf*,

Updated Vim installer for Windows

2006-07-11 Thread Steve Hall
An updated (unofficial) Vim installer for Windows is now available here: http://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721 Check the "Notes" for version information. My intention is to minimize all future disturbances on this list with these announcements, the link ab

Re: Remapping - how to get the count

2006-07-11 Thread Benji Fisher
On Tue, Jul 11, 2006 at 01:52:40PM -0500, Tim Chase wrote: [snip] > > Well, after hacking at it on and off for the last day or two, > trying various ideas, this is one of my uglier hacks and abuses > of vim's conventions. > > function! IncRoman(initial, howmuch) > " do your own IncRoman s

Re: perlcomplete.vim -- anyone working on this?

2006-07-11 Thread Hakim Cassimally
On 12/07/06, Vigil <[EMAIL PROTECTED]> wrote: This is perfect - thank you! One issue, though (although I suspect this is more to do with vim): it did not recognise a (locally defined) sub whose filename contained an underscore. Check what you have set for iskeyword. On my vim: iskeywor