Re: can't diffsplit

2007-06-01 Thread John Beckett
Eric Leenman wrote: I'm having the same problem, and the three solutions don't work for me. In all the three solutions (and even the other thread I started with your reply windo diffthis) doesn't work. What happens is that one window folds the complete file to one line. The other window keeps t

Re: :scriptfiles

2007-06-01 Thread A.J.Mechelynck
Tushar Desai wrote: sorry ... my bad. it is scriptnames and not scriptfiles. but, my plugins still won't work. :-( regards, -tushar. If nothing else avails, you may try executing Vim step-by-step, see ":help debug-scripts". Best regards, Tony. -- The price of seeking to force our beliefs

Re: collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread fREW
On 6/1/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Howard Glynn wrote: > > > I wondered whether there was a plugin somewhere that was able to > abbreviate or > partially hide the detail so i can see the overall structure more > clearly. In essence I > would like to collapse huge (singl

Re: gvim 7 highlight search string

2007-06-01 Thread Charles E Campbell Jr
Brian E. Lozier wrote: In the old gvim, doing a search (/something) highlights all "something" in red. In gvim 7, it doesn't highlight all occurrences. Is there a way to turn this back on? I suspect that you may be having problems because you made changes to files in files in your former $V

Re: collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread Charles E Campbell Jr
Howard Glynn wrote: I wondered whether there was a plugin somewhere that was able to abbreviate or partially hide the detail so i can see the overall structure more clearly. In essence I would like to collapse huge (single) lines of tags to something like Hello! Sounds like Vince Negri'

Re: collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread Tobia
Howard Glynn wrote: > In essence I would like to collapse huge (single) lines of tags to > something like

Re: :scriptfiles

2007-06-01 Thread Yakov Lerner
On 6/1/07, Tushar Desai <[EMAIL PROTECTED]> wrote: I was previously able to do ":scriptfile" for vim 7.1 (on Fedora Core 6), when I was debugging why my plugins won't work. Then to check if plugins would work in vim 7.0, I did a "make install" from vim 7.0. Since they didn't seem to work in vim 7

Re: OT: Vi in a browser...

2007-06-01 Thread Yakov Lerner
On 5/30/07, Tim Chase <[EMAIL PROTECTED]> wrote: Just stumbled across this link: http://gpl.internetconnection.net/vi/ for a basic implementation of Vi, authored in JavaScript. Sick, sick, sick. So just in case you're on a foreign computer that doesn't have vi/vim installed, and you need a fi

Re: OT: Vi in a browser...

2007-06-01 Thread fREW
On 6/1/07, Tim Chase <[EMAIL PROTECTED]> wrote: > Speaking of which, is there any quicker way to visually select the > entire file, analogous to ^A in other systems? I have to essentially do > > 1GVG > > to stick everything into the scratchpad/clipboard/whatever to dump it > back into the

Re: :scriptfiles

2007-06-01 Thread A.J.Mechelynck
Tushar Desai wrote: I was previously able to do ":scriptfile" for vim 7.1 (on Fedora Core 6), when I was debugging why my plugins won't work. Then to check if plugins would work in vim 7.0, I did a "make install" from vim 7.0. Since they didn't seem to work in vim 7.0, I reverted back to vim 7.1,

Re: gvim 7 highlight search string

2007-06-01 Thread fREW
On 6/1/07, Tim Chase <[EMAIL PROTECTED]> wrote: > In the old gvim, doing a search (/something) highlights all > "something" in red. In gvim 7, it doesn't highlight all occurrences. > Is there a way to turn this back on? It sounds like in the process, a vimrc (system-wide?) was changed. You don

Re: :scriptfiles

2007-06-01 Thread Gary Johnson
On 2007-06-01, Tushar Desai <[EMAIL PROTECTED]> wrote: > I was previously able to do ":scriptfile" for vim 7.1 (on Fedora Core > 6), when I was debugging why my plugins won't work. Then to check if > plugins would work in vim 7.0, I did a "make install" from vim 7.0. > Since they didn't seem to

Re: collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread Tim Chase
> Been a long long time vi user but bizarrely never made the > jump to vim until quite recently. Welcome! > I'm editing a lot of complex html/cake-php thtml templates at > the moment and despite useful color highlighting I'm finding > it quite difficult to see the "wood for the trees" due to the

:scriptfiles

2007-06-01 Thread Tushar Desai
I was previously able to do ":scriptfile" for vim 7.1 (on Fedora Core 6), when I was debugging why my plugins won't work. Then to check if plugins would work in vim 7.0, I did a "make install" from vim 7.0. Since they didn't seem to work in vim 7.0, I reverted back to vim 7.1, by doing a make inst

collapsing single lines of html tag attributes via plugin??

2007-06-01 Thread Howard Glynn
Hi all, first post. Been a long long time vi user but bizarrely never made the jump to vim until quite recently. I'm editing a lot of complex html/cake-php thtml templates at the moment and despite useful color highlighting I'm finding it quite difficult to see the "wood for the trees" due to th

Re: OT: Vi in a browser...

2007-06-01 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Personally, I don't agree with you. When editing short text items on web pages, I feel that the overhead of copying/pasting back and forth from vim is too much. I am currently using the Speaking of which, is there any quicker way to visually select the entire file, analog

Re: gvim 7 highlight search string

2007-06-01 Thread Tim Chase
> In the old gvim, doing a search (/something) highlights all > "something" in red. In gvim 7, it doesn't highlight all occurrences. > Is there a way to turn this back on? It sounds like in the process, a vimrc (system-wide?) was changed. You don't mention your distro/OS, so it's hard to help th

gvim 7 highlight search string

2007-06-01 Thread Brian E. Lozier
In the old gvim, doing a search (/something) highlights all "something" in red. In gvim 7, it doesn't highlight all occurrences. Is there a way to turn this back on? Thanks!

Re: OT: Vi in a browser...

2007-06-01 Thread Tobia
Gene Kwiecinski wrote: > Speaking of which, is there any quicker way to visually select the > entire file, analogous to ^A in other systems? To copy the entire file to the system clipboard, you can do: :%y+ Rpelace y with d if you want to cut instead of copy. Replace + with * if you want

Re: OT: Vi in a browser...

2007-06-01 Thread Tim Chase
> Speaking of which, is there any quicker way to visually select the > entire file, analogous to ^A in other systems? I have to essentially do > > 1GVG > > to stick everything into the scratchpad/clipboard/whatever to dump it > back into the item from whence it originally came, and that's

RE: OT: Vi in a browser...

2007-06-01 Thread Gene Kwiecinski
>Personally, I don't agree with you. When editing short text >items on web pages, I feel that the overhead of copying/pasting >back and forth from vim is too much. I am currently using the Speaking of which, is there any quicker way to visually select the entire file, analogous to ^A in other syst

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

Calling silent expand abbrev

2007-06-01 Thread Serhiy Boiko
Hi, all. In insert mode command C-] expand abbreviation. How to call this command in function? I try this way: execute "normal i\" but it simply put ^] in text. -- Serhiy Boiko CRIS-UANIC

Syntax highlighting, TOhtml and diff

2007-06-01 Thread Lorenzo E. Danielsson
I am looking for a small extension to :TOhtml and I wonder if it can be done already, extists as a plug-in or if this is an itch I will have to scratch. This is what I want: I have a file, let's say myapp.c, which should be converted to (X)HTML with syntax highlighting intact. So far so good, it c

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

2007-06-01 Thread Marc Weber
Hi jaywee, The simplest way is using a mapping inoremap { {}O which should do what you want. But I myself find this terrible annying because it always inserts those closing braces. That's why I've written some kind of context sensitive completion http://www.mawercer.de/marcweber/vim/installer/vi

Re: can't diffsplit

2007-06-01 Thread Eric Leenman
I'm having the same problem, and the three solutions don't work for me. In all the three solutions (and even the other thread I started with your reply windo diffthis) doesn't work. What happens is that one window folds the complete file to one line. The other window keeps the file open as it was.

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

2007-06-01 Thread Yeti
On Fri, Jun 01, 2007 at 01:05:53PM +0800, jaywee wrote: > mostly when I press "{", I have to press one more "}" after, because > they are always appears at the same time! the same as "()" "[]", and > also the quote mark(""). so I wonder how can I add the feature that when > I insert "{" or the o

Re: OT: Vi in a browser...

2007-06-01 Thread Yongwei Wu
Hi Thomas, On 01/06/07, Thomas Svensen <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Yongwei Wu [mailto:[EMAIL PROTECTED] > Sent: 1. juni 2007 07:32 > To: vim@vim.org > Subject: Re: OT: Vi in a browser... > > On 31/05/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > > Edward L.

RE: OT: Vi in a browser...

2007-06-01 Thread Thomas Svensen
> -Original Message- > From: Yongwei Wu [mailto:[EMAIL PROTECTED] > Sent: 1. juni 2007 07:32 > To: vim@vim.org > Subject: Re: OT: Vi in a browser... > > On 31/05/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > > Edward L. Fox wrote: > > [...] > > > A friend told me that he is developing a