Re: failure notice

2006-08-10 Thread Edward L. Fox
Hi vimmers, Sorry for sending this mail for the second time because my previous mail with attachment was rejected by the mail daemon. :-( On 8/11/06, Bram Moolenaar [EMAIL PROTECTED] wrote: [...] The menu.vim file should never change 'encoding'. It should load menus that are appropriate for

can we set vim to use magic=very ??

2006-08-10 Thread martin kraegeloh
all, rtfm didn't help ... I'd like to *always* make my regexes behave like perl, but I find no way to set it as a default. will I have to always use \v ?? I tend to think that if I can't get vim to do something it's because I don't know why, not because it is not possible ... so how do I do

Re: Tips for advance use of Vim

2006-08-10 Thread Marc Weber
On Thu, Aug 10, 2006 at 10:22:11AM +0800, Vincent Wang wrote: Good idea and I am sure it will help many persons! One suggestion, why not put your tips to www.vim.org's tips page and post a notification in this maillist? That will make your tip well archived and easier to reach. This tip had

Re: can we set vim to use magic=very ??

2006-08-10 Thread A.J.Mechelynck
martin kraegeloh wrote: all, rtfm didn't help ... I'd like to *always* make my regexes behave like perl, but I find no way to set it as a default. will I have to always use \v ?? I tend to think that if I can't get vim to do something it's because I don't know why, not because it is not

Patch (Unofficial): Malformed characters in menu and toolbar when using zh_CN.GBK encoding under Linux

2006-08-10 Thread Edward L. Fox
Patch Unofficial Problem:Menu and toolbar: Doesn't display properly when using zh_CN.GBK encoding under Linux. Solution: Use gb2312 to generate the menu and toolbar to get proper display, then use cp936 instead of GBK which is a correct alias under Linux. Files: runtime/menu.vim ***

Re: can we set vim to use magic=very ??

2006-08-10 Thread Peter Hodge
Hi Martin, Unfortunately, I don't think there's any way to use \v by default for every pattern. It may help to remember that when you have the default 'magic' option set, Vim only recognizes 5 special characters without backslash: ^ $ . * [ (if there is a matching ] to make a

[RFC] fising f-args bug wrt '\\ '

2006-08-10 Thread Yakov Lerner
I am about to fix the f-args bug that is mentioned in the todo. There is one remaining ambiguity on which I need to consut the community. The testcase that illustrates the bug is at the end. First, about the bug that needs to be fixed. It is in handling of \\ when \\ precedes th whitespace. I

Re: Re[2]: filename completion and filereadable

2006-08-10 Thread Matthew Winn
On Wed, 9 Aug 2006 23:03:12 -0400, Alan G Isaac [EMAIL PROTECTED] wrote: On Thu, 10 Aug 2006, A.J.Mechelynck apparently wrote: What is the raw string notation from Python ? IMHO it would only create one additional type of string. We already have single-quoted 'raw' strings in Vim, yet

Re: fast file locating plugin (like ido.el in emacs)

2006-08-10 Thread Eddy Zhao
Hi Hari: I detailed compared ido.el and lookupfile.vim today, below are some of the ido features that I personally think more convenient than the current lookupfile plugin: - Ido don't need user to generate update tagfile (and don't have things like LookupFile_MinPatLength and performance

Re: filename completion and filereadable

2006-08-10 Thread Alexander 'boesi' Bösecke
Hi Am 10.08.2006 16:02:54 schrieb Alan G Isaac: On Thu, 10 Aug 2006, Matthew Winn apparently wrote: But ... versus '...' is just as explicit. Ah, that explains why the question keeps coming up on this list and never in a Python forum ... Or not? In fact, apart from Python and XML I

changed-yet-not-saved-lines highlighting feature

2006-08-10 Thread Eddy Zhao
Hi, Very often, I open a lot of files to edit. When I exiting vim, vim prompt me to save every file which contain changes not saved yet. So, - Is there plugin that could highlight the changed-yet-not-saved-lines (possibly with yellow background), so that I could easily locate and check those

Re: changed-yet-not-saved-lines highlighting feature

2006-08-10 Thread Yakov Lerner
On 8/10/06, Eddy Zhao [EMAIL PROTECTED] wrote: Hi, Very often, I open a lot of files to edit. When I exiting vim, vim prompt me to save every file which contain changes not saved yet. So, - Is there plugin that could highlight the changed-yet-not-saved-lines (possibly with yellow

Re: can we set vim to use magic=very ??

2006-08-10 Thread Charles E Campbell Jr
martin kraegeloh wrote: rtfm didn't help ... I'd like to *always* make my regexes behave like perl, but I find no way to set it as a default. will I have to always use \v ?? I tend to think that if I can't get vim to do something it's because I don't know why, not because it is not possible

Show/Hide Split Windows

2006-08-10 Thread Steve Amerige
Hi all, The ability to split windows is an absolute essential; however, there are times when I want to focus on one buffer in one window and hide all of the other windows. But, I don't know of any show/hide feature that hides all windows but the current window. As a workaround, I resize all

delete lines

2006-08-10 Thread Ben lemasurier
Hey everyone, Is there a way to make it so that when I am editing something like this: function foo() { $blah; $blah2; } And then I decide that I want to remove $blah2, so I start to press backspace from here: fucntion foo() { $blah; $blah2; - cursor here } and then when I get

Re: delete lines

2006-08-10 Thread Tim Chase
And then I decide that I want to remove $blah2, so I start to press backspace from here: fucntion foo() { $blah; $blah2; - cursor here } and then when I get to the beginning of the line, it stops. Can I make it so that it will follow up to the end of $blah on the previous line?

RE: delete lines

2006-08-10 Thread Max Dyckhoff
The problem is your setting of backspace. It sounds like currently bs is equal to indent,start or something similar. You need indent,start,eol. The easiest way to do this is simply put this in your .vimrc file: :set bs=2 That should do it! Max -Original Message- From: Ben lemasurier

Re: delete lines

2006-08-10 Thread Christian J. Robinson
Today (Thu, 10 Aug 2006), Ben lemasurier wrote: And then I decide that I want to remove $blah2, so I start to press backspace from here: fucntion foo() { $blah; $blah2; - cursor here } and then when I get to the beginning of the line, it stops. Can I make it so that it will

Re: Show/Hide Split Windows

2006-08-10 Thread striker
Yes there is a way in Vim without additional plugins. Take a look at :help :mksession and :help :mkview The way I use it is to set up 3-4 open windows with the files I frequently visit. Then :mksession myview.vim Then when I want to go back to that configeration I use: :so

RE: Show/Hide Split Windows

2006-08-10 Thread Max Dyckhoff
I personally have never found the need to actually hide the other windows, but I do always keep the current window maximised. One way to do this is to set wh=10, but this kills the quickfix window. If you use the quickfix window a lot (that's the one which shows compile errors or grep

Re: delete lines

2006-08-10 Thread Meino Christian Cramer
From: Christian J. Robinson [EMAIL PROTECTED] Subject: Re: delete lines Date: Thu, 10 Aug 2006 12:00:45 -0600 (MDT) Hi, Today (Thu, 10 Aug 2006), Ben lemasurier wrote: And then I decide that I want to remove $blah2, so I start to press backspace from here: fucntion foo() {

Re: delete lines

2006-08-10 Thread Tim Chase
is it also possible to enable the backspace key in normal mode -- the delete key is working in normal, so why should I miss the backspace key ? :nnoremap BS X (all typed literally with greater-than and less-than signs included) should do the trick. -tim

Re: Show/Hide Split Windows

2006-08-10 Thread Charles E Campbell Jr
Steve Amerige wrote: The ability to split windows is an absolute essential; however, there are times when I want to focus on one buffer in one window and hide all of the other windows. But, I don't know of any show/hide feature that hides all windows but the current window. As a

Re: filename completion and filereadable

2006-08-10 Thread A.J.Mechelynck
Alan G Isaac wrote: On Thu, 10 Aug 2006, Matthew Winn apparently wrote: But ... versus '...' is just as explicit. Ah, that explains why the question keeps coming up on this list and never in a Python forum ... Or not? In fact, apart from Python and XML I can't think of any languages that

Re: Show/Hide Split Windows

2006-08-10 Thread Rodolfo Borges
On 8/10/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Type ctrl-w o to toggle between maximizing one window and restoring to all. By maximizing, I mean that the current window will take over the entire display, not leaving a lot of status bars around. Actually, Ctrl-w o will close

RE: Show/Hide Split Windows

2006-08-10 Thread Max Dyckhoff
He means when using the script that he wrote and which he was discussing in the same email, which remaps ctrl-w o to do something else. Max -Original Message- From: Rodolfo Borges [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 11:43 AM To: vim@vim.org Subject: Re:

Re: changed-yet-not-saved-lines highlighting feature

2006-08-10 Thread Marc Weber
On Thu, Aug 10, 2006 at 11:02:50PM +0800, Eddy Zhao wrote: Hi, Very often, I open a lot of files to edit. When I exiting vim, vim prompt me to save every file which contain changes not saved yet. So, - Is there plugin that could highlight the changed-yet-not-saved-lines (possibly with

Re: can we set vim to use magic=very ??

2006-08-10 Thread martin kraegeloh
Charles E Campbell Jr wrote: martin kraegeloh wrote: rtfm didn't help ... I'd like to *always* make my regexes behave like perl, but I find no way to set it as a default. will I have to always use \v ?? I tend to think that if I can't get vim to do something it's because I don't know why,

Re: Show/Hide Split Windows

2006-08-10 Thread Steve Amerige
Hi Chip, Perhaps ZoomWin will do what you want... http://vim.sourceforge.net/scripts/script.php?script_id=508 Thank you for this... it's just what I was hoping for! And, thanks for the other responses. It shows how great Vim is! Enjoy, Steve Amerige Adobe Systems Incorporated

Re: Show/Hide Split Windows

2006-08-10 Thread Kim Schulz
On Thu, 10 Aug 2006 11:43:56 -0700 Max Dyckhoff [EMAIL PROTECTED] wrote: He means when using the script that he wrote and which he was discussing in the same email, which remaps ctrl-w o to do something else. and it works perfectly :-) Use it a lot here. -- Kim Schulz| Private :

Re: filename completion and filereadable

2006-08-10 Thread A.J.Mechelynck
Alexander 'boesi' Bösecke wrote: Hi Am 10.08.2006 16:02:54 schrieb Alan G Isaac: On Thu, 10 Aug 2006, Matthew Winn apparently wrote: But ... versus '...' is just as explicit. Ah, that explains why the question keeps coming up on this list and never in a Python forum ... Or not? In fact,

Re: Show/Hide Split Windows

2006-08-10 Thread cga2000
On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote: On 8/10/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Type ctrl-w o to toggle between maximizing one window and restoring to all. By maximizing, I mean that the current window will take over the entire display, not leaving

Re: delete lines

2006-08-10 Thread Tim Chase
:nnoremap BS X with this I cannot cross lines (delete $ between line n+1 and line n coming from line n+1 while backspacing and it is not possible to delete the last (or in other words the first char after ^ ) char of a line. Something perhaps like :nnoremap bs ibsrightesc might do

Re: changed-yet-not-saved-lines highlighting feature

2006-08-10 Thread Bob Hiestand
On 8/10/06, Marc Weber [EMAIL PROTECTED] wrote: On Thu, Aug 10, 2006 at 11:02:50PM +0800, Eddy Zhao wrote: Hi, Very often, I open a lot of files to edit. When I exiting vim, vim prompt me to save every file which contain changes not saved yet. So, - Is there plugin that could highlight

Re: fast file locating plugin (like ido.el in emacs)

2006-08-10 Thread Hari Krishna Dara
I had some trouble but I was able to try ido.el. At first, emacs that came with cygwin didn't start at all, even when I had X running, so I downloaded it separately from gnu.org. I installed ido.el directly under lisp directory, as I don't know how to put it in a user directory. Next I had

Omnicompletion top window

2006-08-10 Thread Panos Laganakos
Hello, I'd like to know if there's a way to get rid of the top horizontal window that appears while we're using omnicompletion. Right now, after I Ctrl_X Ctrl_O and find the one I want I just type it. While the balloon list disappears the horizontal window with the info stays, so I have to

RE: Search and Replace with a Regular Expression

2006-08-10 Thread Gene Kwiecinski
I agree with Chip and have a recommendation. Since you have been using Vim, Perl will be much easier to learn. When I first began studying programming Perl was over my head and seemed very difficult. I found it incredibly easy to learn Perl. I was faced with a large data-reformatting

Re: Tips for advance use of Vim

2006-08-10 Thread 4mir Salihefendic
I don't think this should replace vim.org but it might link to the tips/ scripts there Benefits: Its easier to keep it up to date (on vim.org you'll get still outdated matches.. IMO this is an excellent idea. I am a web developer and willing to help. 4mir --

Unwanted leading spaces in reltimestr()

2006-08-10 Thread Bill McCarthy
Hello Vim List, The function reltimestr() return a string which may have leading spaces. Is that a bug or a feature? A workaround for this is: function Reltimestr(t) return matchstr(reltimestr(a:t),'[0-9.]\+') endfunction -- Best regards, Bill

Re: Show/Hide Split Windows

2006-08-10 Thread cga2000
On Thu, Aug 10, 2006 at 03:28:22PM EDT, Charles E Campbell Jr wrote: cga2000 wrote: On Thu, Aug 10, 2006 at 02:42:57PM EDT, Rodolfo Borges wrote: On 8/10/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Type ctrl-w o to toggle between maximizing one window and restoring to all.

RE: Patch (Unofficial): Malformed characters in menu and toolbar when using zh_CN.GBK encoding under Linux

2006-08-10 Thread Max Dyckhoff
Bram, you have an overflow in your signature :) Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 1:44 PM Subject: Re: Patch (Unofficial): Malformed characters in menu and toolbar when using zh_CN.GBK encoding under Linux

Re: using syntax match two time in one line? fst blocks snd?

2006-08-10 Thread Marc Weber
I am assuming that you have output like this: --- | Field1 | Field2 | Field3 | Field4 | ... | --- | Value1 | Value2 | Value3 | Value4 | ... | --- Exactly !

Re: _vimrc in fedora core 5

2006-08-10 Thread A.J.Mechelynck
Vu The Cuong wrote: Currently I'm using win XP. I just install dual OS with fedora core 5 and I installed vim 7 mannually from source. installation successful. I created .gvimrc in my home folder and I put gvimrc.vim.example in to this folder but vim seems not detected this file. Could anyone

Re: Patch (Unofficial): Malformed characters in menu and toolbar when using zh_CN.GBK encoding under Linux

2006-08-10 Thread Jürgen Krämer
Hi, Max Dyckhoff wrote: Bram, you have an overflow in your signature :) Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 1:44 PM Subject: Re: Patch (Unofficial): Malformed characters in menu and toolbar when using

Re: fast file locating plugin (like ido.el in emacs)

2006-08-10 Thread Eddy Zhao
Hi Hari: I tried the new plugin. Excellent! Exactly what I want. There are several missing features I think could make lookupfile even more effecient useful. Can you evaluate these features also ? - include opened buffer as matching target (ido feature) - order matching files by mru first,