RE: _vimrc in fedora core 5

2006-08-10 Thread Vu The Cuong
Thanks you for quick answer -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 12:22 PM To: Vu The Cuong Cc: vim@vim.org Subject: Re: _vimrc in fedora core 5 Vu The Cuong wrote: > Currently I'm using win XP. > I just install dual OS with fedo

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

2006-08-10 Thread Eddy Zhao
Seems vim still lack of these two features. Thanks everybody Eddy 2006/8/11, Bob Hiestand <[EMAIL PROTECTED]>: 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 exitin

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, f

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 >> whe

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 tel

_vimrc in fedora core 5

2006-08-10 Thread Vu The Cuong
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 tell me what's the exact

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 fo

Re: Tips for advance use of Vim

2006-08-10 Thread Vincent Wang
Marc Weber wrote: 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

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 | ... | > --- Exact

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 r

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: 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 -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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: delete lines

2006-08-10 Thread Jochen Baier
Zitat von Tim Chase <[EMAIL PROTECTED]>: :nnoremap X with this I cannot cross lines (delete $ between line and line coming from line 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 :n

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

2006-08-10 Thread Bram Moolenaar
Edward L. Fox wrote: > 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. >

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-reformatt

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 Ctr_

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 trouble

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 high

Re: delete lines

2006-08-10 Thread Tim Chase
:nnoremap X with this I cannot cross lines (delete $ between line and line coming from line 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 i might do the trick. One edge-c

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

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 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: 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: 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, no

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

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: Sho

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: 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: delete lines

2006-08-10 Thread Meino Christian Cramer
From: Tim Chase <[EMAIL PROTECTED]> Subject: Re: delete lines Date: Thu, 10 Aug 2006 13:22:27 -0500 > > 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 X > > (all typed lite

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 workaround

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 X (all typed literally with greater-than and less-than signs included) should do the trick. -tim

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: 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 results),

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 myview.vi

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 tha

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 lemasu

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? S

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

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 o

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 ..

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

2006-08-10 Thread Tim Chase
- 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 changes and decide whether to save it or not. I've done something like this in the past that is roughly like: :diffthis :belo

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 backgrou

Re: Internet based .vim and .vimrc

2006-08-10 Thread Robert Hicks
Mike Bradley wrote: I would like to be able to open up a vim instance from anywhere with my vim settings. One way I can think to do this is by editing my .vimrc file to load my colors, plugings, autoloads etc. and then putting all those files on the internet so that I can source it from anywhere

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 c

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

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[4]: filename completion and filereadable

2006-08-10 Thread 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 can't think of any > languages that don't make a dist

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 i

[RFC] fising bug wrt '\\ '

2006-08-10 Thread Yakov Lerner
I am about to fix the 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 was bitte

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 collection

RE: Tips for advance use of Vim

2006-08-10 Thread SHANKAR R-R66203
I would agree with Marc. The vim tips currently does not have any structured organisation. May be, we can organize using wiki. Regards, Shankar >-Original Message- >From: Marc Weber [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 10, 2006 3:08 PM >To: vim@vim.org >Subject: Re: Tips f

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 possi

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

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 th

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 *** ru

Re: Tips for advance use of Vim

2006-08-10 Thread 4mir Salihefendic
I tried adding this as comment but the autoformatting feature i annoying when trying to post vim commands. I was to lazy to look for a description how to do pre formatting.. (That's the downside on wikis.. You have to find out how to do something again and again) I added it for you. AmiFormat is