RE: lookupfile.vim (WAS Re: fast file opening / find file as you type)

2006-05-11 Thread Hari Krishna Dara
On Thu, 11 May 2006 at 11:03pm, David Fishburn wrote: > > > > -Original Message- > > From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] > > Sent: Thursday, May 11, 2006 10:06 PM > > To: Benjamin Reitzammer > > Cc: Benjamin Reitzammer; vim@vim.org > > Subject: lookupfile.vim (WAS Re: fast f

RE: Column Selection

2006-05-11 Thread Gerald Lai
On Thu, 11 May 2006, Hari Krishna Dara wrote: On Thu, 11 May 2006 at 7:57pm, Gerald Lai wrote: On Thu, 11 May 2006, Hari Krishna Dara wrote: On Thu, 11 May 2006 at 6:37pm, Gerald Lai wrote: On Thu, 11 May 2006, Suresh Govindachar wrote: Elias Chatzigeorgiou wrote: I use the ms

RE: Column Selection

2006-05-11 Thread Hari Krishna Dara
On Thu, 11 May 2006 at 7:57pm, Gerald Lai wrote: > On Thu, 11 May 2006, Hari Krishna Dara wrote: > > > > > On Thu, 11 May 2006 at 6:37pm, Gerald Lai wrote: > > > >> On Thu, 11 May 2006, Suresh Govindachar wrote: > >> > >>> > >>> Elias Chatzigeorgiou wrote: > >>> > >>> > I use the mswin beha

Re: Patch for AsNeeded to define proxy commands

2006-05-11 Thread Thomas
Perhaps you should submit the patch to the author of this script. I'm aware this isn't part of the standard distribution and yes, I did a while ago. Anyway, in the meantime I realized that creating these proxy commands should probably be done with an autocommand for AsNeeded/ANtags which woul

Re: Shell support in Vim?

2006-05-11 Thread Linsong
François Pinard wrote: [Aaron Griffin] Bram has spoken - vim is an editor. It is not a shell. Quite granted. I see *nothing* that another terminal cannot do. I'm happy with what Vim is. However, here, you could use some more imagination :-). There are a few things another terminal

Indention of Macro

2006-05-11 Thread yorkwar
Spam detection software, running on the system "kumar.ltc.sk", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system f

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

2006-05-11 Thread David Fishburn
> -Original Message- > From: Kevin Old [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 09, 2006 3:46 PM > To: vim@vim.org > Subject: perlcomplete.vim -- anyone working on this? > > Hello, > > I was shocked that there wasn't a perlcomplete.vim in the > source and would like to create o

RE: lookupfile.vim (WAS Re: fast file opening / find file as you type)

2006-05-11 Thread David Fishburn
> -Original Message- > From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 11, 2006 10:06 PM > To: Benjamin Reitzammer > Cc: Benjamin Reitzammer; vim@vim.org > Subject: lookupfile.vim (WAS Re: fast file opening / find > file as you type) > > > Actually, I started

RE: Column Selection

2006-05-11 Thread Gerald Lai
On Thu, 11 May 2006, Hari Krishna Dara wrote: On Thu, 11 May 2006 at 6:37pm, Gerald Lai wrote: On Thu, 11 May 2006, Suresh Govindachar wrote: Elias Chatzigeorgiou wrote: > I use the mswin behaviour and insert mode for editing > ("source mswin.vim" and "set insertmode" in _vimrc ) >

Re: Shell support in Vim?

2006-05-11 Thread A.J.Mechelynck
François Pinard wrote: [Aaron Griffin] Bram has spoken - vim is an editor. It is not a shell. Quite granted. I see *nothing* that another terminal cannot do. I'm happy with what Vim is. However, here, you could use some more imagination :-). There are a few things another terminal cann

RE: Column Selection

2006-05-11 Thread Hari Krishna Dara
On Thu, 11 May 2006 at 6:37pm, Gerald Lai wrote: > On Thu, 11 May 2006, Suresh Govindachar wrote: > > > > > Elias Chatzigeorgiou wrote: > > > > > I use the mswin behaviour and insert mode for editing > > > ("source mswin.vim" and "set insertmode" in _vimrc ) > > > > > > To enable column

lookupfile.vim (WAS Re: fast file opening / find file as you type)

2006-05-11 Thread Hari Krishna Dara
Actually, I started with the below idea, and created a plugin that works more or less like what the OP wanted. It uses the Vim completion mechanism to bringup a popup dialog with matching filenames. Works best when you have a dedicated tags file the way I originaly proposed (see the script header)

CVS service resumed?

2006-05-11 Thread 滇狐
Hi all, It seems that the CVS service of sourceforge.net resumed again. The host name changed to "vim.cvs.sourceforge.net". So what? Regards, Edward Leap Fox

RE: Column Selection

2006-05-11 Thread Gerald Lai
On Thu, 11 May 2006, Suresh Govindachar wrote: Elias Chatzigeorgiou wrote: > I use the mswin behaviour and insert mode for editing > ("source mswin.vim" and "set insertmode" in _vimrc ) > > To enable column selection I use the sequence: > CTRL-O, g, CTRL-H and hold the SHIFT during

i_CTRL-E when completeopt has longest

2006-05-11 Thread Suresh Govindachar
Edward Wong wrote: > But I do find another separate issue. Helps to start a new thread. > When I have: > >set cot=menu,preview,longest > > 1) i_ctrl-e doesn't restore the original word Don't know whether this is intentional or not, but I can confirm the lack of

RE: Bug i_CTRL-X s and arrow

2006-05-11 Thread Suresh Govindachar
I have finally correctly understood Bram's intent regarding what can happen after i_CTRL s and things indeed work that way. --Suresh

Re: Slow startup

2006-05-11 Thread Yakov Lerner
On 5/12/06, Jeffrey Pratt <[EMAIL PROTECTED]> wrote: Hi: I just built Vim 7 on Cygwin, linked with ncurses, and it takes 54 sec to start in rxvt! (It starts normally if done from the regular Cygwin Bash Prompt.) I've built it on two other machines with the same configuration options, and neither

Re: Shell support in Vim?

2006-05-11 Thread François Pinard
[Aaron Griffin] Bram has spoken - vim is an editor. It is not a shell. Quite granted. I see *nothing* that another terminal cannot do. I'm happy with what Vim is. However, here, you could use some more imagination :-). There are a few things another terminal cannot easily do, while the

RE: Column Selection

2006-05-11 Thread Suresh Govindachar
Elias Chatzigeorgiou wrote: > I use the mswin behaviour and insert mode for editing > ("source mswin.vim" and "set insertmode" in _vimrc ) > > To enable column selection I use the sequence: > CTRL-O, g, CTRL-H and hold the SHIFT during the selection. > > Is it possible

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

2006-05-11 Thread Виктор Кожухаров
> Kevin Old wrote: > > Hello, > > > > I was shocked that there wasn't a perlcomplete.vim in the source and > > would like to create one or help someone who's writing one. > > > > Contact me if I an be of help, > > > Kevin > > -- > > Kevin Old > > [EMAIL PROTECTED] I for one would appreciate a pe

Re: vim7: inconsistency in completion popup

2006-05-11 Thread Sven Brueggemann
Gerald Lai: >> I select a match from the completion window that pops up >> after CTRL-X CTRL-N with enter. This works fine, if I scrolled >> the list with the cursor keys. But if the first match is what >> I want, I press enter without using the cursor keys first. In >> this case, pressing enter i

Re: russian

2006-05-11 Thread A.J.Mechelynck
Anton wrote: On Thu, May 11, 2006 at 22:54 +0300, Anton wrote: Sorry for such a newbie's question... :( When I used vim 6.4 I put set keymap=russian-jcukenwin in my .vimrc file and used C-^ to swith to russian, now It soesn't work with the same initialization file. I tried to give this com

Re: russian

2006-05-11 Thread Anton
On Thu, May 11, 2006 at 22:54 +0300, Anton wrote: > Sorry for such a newbie's question... :( > When I used vim 6.4 I put > set keymap=russian-jcukenwin > in my .vimrc file and used C-^ to swith to russian, now It soesn't work with > the same initialization file. I tried to give this command from

Re: I'm still alive

2006-05-11 Thread A.J.Mechelynck
Bram Moolenaar wrote: Tony - OK, I found it: I have a PPPoE (PoP-over-Ethernet) connection, and that means I must configure the Ethernet card to a static address (e.g. 10.0.1.0/24) even if my ISP uses dynamic addressing on its ADSL lines. I knew it was something stupid but it's only today

Re: undo/redo mess with version 7.0 and utf-8 text

2006-05-11 Thread Yukihiro Nakadaira
I cannot reproduce your problem but I probably had been having similar problem that breaks undo but I cannot remember it... Maybe it disappeared when something was upgraded. Now I can use scim (with other trouble related to undo but it is not serious). Each versions I am using are scim-1.4.4, s

Re: Shell support in Vim?

2006-05-11 Thread Aaron Griffin
Oh dear god this has been discussed to death. Bram has spoken - vim is an editor. It is not a shell. It does not support shell features. Period. It is not your editor - feel free to fork it or maintain a patchset which supports shell features in vim. I see *nothing* that another terminal cann

Slow startup

2006-05-11 Thread Jeffrey Pratt
Hi: I just built Vim 7 on Cygwin, linked with ncurses, and it takes 54 sec to start in rxvt! (It starts normally if done from the regular Cygwin Bash Prompt.) I've built it on two other machines with the same configuration options, and neither of them take so much time in rxvt. Does anyone kn

Re: Detect current tab style and mimic?

2006-05-11 Thread Russell Bateman
I systematically place a comment at the bottom of files that establishes tabular format: /* vim: set tabstop=2 shiftwidth=2: */ and even in scripts and other files: # This enforces this script's tab settings... # /* vim: set tabstop=2 shiftwidth=2: */ That way, the problem is solved for every

Detect current tab style and mimic?

2006-05-11 Thread mal content
Hello. I'm relatively new to VIM, I wondered if there was a way to mimic the style used in the current file. I use two spaces to indent my code (two real spaces, not tab characters) but I know that many people use real tabs. I would like to be able to automatically mimic the style of the file tha

russian

2006-05-11 Thread Anton
Sorry for such a newbie's question... :( When I used vim 6.4 I put set keymap=russian-jcukenwin in my .vimrc file and used C-^ to swith to russian, now It soesn't work with the same initialization file. I tried to give this command from the editor :set keym but it completes to 'keymodel' directl

Re: vim7: inconsistency in completion popup

2006-05-11 Thread Gerald Lai
On Thu, 11 May 2006, Sven Brueggemann wrote: Hello, I select a match from the completion window that pops up after CTRL-X CTRL-N with enter. This works fine, if I scrolled the list with the cursor keys. But if the first match is what I want, I press enter without using the cursor keys first. In

vim7: inconsistency in completion popup

2006-05-11 Thread Sven Brueggemann
Hello, I select a match from the completion window that pops up after CTRL-X CTRL-N with enter. This works fine, if I scrolled the list with the cursor keys. But if the first match is what I want, I press enter without using the cursor keys first. In this case, pressing enter inserts a line break

Re: Question about using variable with RegEx counter

2006-05-11 Thread Shaun Cummins
Thanks for the responses everyone! I do not think I can answer this, and there may not be a way to do what you want, but I want to clarify the question. Is your intention to match the "STALIST 6" with the start pattern and, since it ends in " 6", match the next 6 lines with the end pattern?

Column Selection

2006-05-11 Thread Elias Chatzigeorgiou
Hello, I use the mswin behaviour and insert mode for editing ( "source mswin.vim" and "set insertmode" in _vimrc ) To enable column selection I use the sequence: CTRL-O, g, CTRL-H and hold the SHIFT during the selection. Is it possible to simplify the above key sequence? Ideally I would l

I'm up and running again (sort of)

2006-05-11 Thread A.J.Mechelynck
Hi Vimmers, Sorry for having been away so long. My Windows (laptop) computer was broken down (and still is -- but I've sent it in for repairs). I have a Linux (desktop) computer but it's only today that I've succeeded to configure its Internet connection. So: - I'm online again; but it may t

Re: vim70 and insert tab -

2006-05-11 Thread Yegappan Lakshmanan
Hi On 5/11/06, Emmanuel Sixou <[EMAIL PROTECTED]> wrote: So I am debugging: imap gives me: i @=20_InsertSmartTab() and I don't know where it comes from. grep InsertSmartTab on all the files did not find anything. In Vim7, you can use the ":verbose imap " command to determine the s

Re: i_= + "\"

2006-05-11 Thread Benji Fisher
On Thu, May 11, 2006 at 03:51:55AM -0700, Gerald Lai wrote: > [GVim 7.0 release for Windows] > > This is how I do my PageUp/Down: > > inoremap > inoremap > > If I do > > inoremap > ="\C-o>\C-d>\C-o>\C-d>\C-o>\C-y>" > inoremap > ="\C-o>\C-u>\C-o>\C-u>\C-

Re: Question about using variable with RegEx counter

2006-05-11 Thread Yakov Lerner
On Wed, May 10, 2006 at 02:53:20PM -0600, Shaun Cummins wrote: :syntax region Keyword start="^\w\+\s\+\z(\d\+\)" end=#\(\s*\(".\+"\|'.\+'\).*\n\)\{\z1\}# How about :syntax region Keyword start="^\w\+\s\+\z(\d\+\)" \ end=#^\s*"[A-Z]*\z1"# ? Yakov

Win32 C omni completion behavior

2006-05-11 Thread Tracy Meyers
Hey I'm using Win32 vim and I'm having an issue with getting the c omni completion to work with "." and "->". My problem is omni completion only works if the PWD is the same directory where the tags file resides. For example, if my tags file path is set to "c:\tags" and my PWD is "c:\src" then o

Re: Question about using variable with RegEx counter

2006-05-11 Thread Matthew Winn
On Thu, May 11, 2006 at 10:12:32AM -0400, Benji Fisher wrote: > On Wed, May 10, 2006 at 02:53:20PM -0600, Shaun Cummins wrote: > > I would like to use a variable within a regular expression counter. I > > tried the following, but it gave me a syntax error: > > > > :syntax region Keyword start="^\w

Re: Question about using variable with RegEx counter

2006-05-11 Thread Benji Fisher
On Wed, May 10, 2006 at 02:53:20PM -0600, Shaun Cummins wrote: > I would like to use a variable within a regular expression counter. I > tried the following, but it gave me a syntax error: > > :syntax region Keyword start="^\w\+\s\+\z(\d\+\)" > end=#\(\s*\(".\+"\|'.\+'\).*\n\)\{\z1\}# > > If I re

Re: splitting windows

2006-05-11 Thread Eric Arnold
On 5/11/06, Tim Chase <[EMAIL PROTECTED]> wrote: > How can I open four files (eg: file1.txt, file2.txt, file3.txt and > file4.txt) for a view as following: > > VIM > > ¦file1 ¦file2 ¦ > ¦ ¦ ¦ > ¦

Re: splitting windows

2006-05-11 Thread Mark Woodward
Hi Raphael, On Thu, 11 May 2006 13:22:54 +0200 (MEST) "Raphael Brunner" <[EMAIL PROTECTED]> wrote: > dear users > > How can I open four files (eg: file1.txt, file2.txt, file3.txt and > file4.txt) for a view as following: > > VIM > > ¦file1 ¦file

Re: Python syntax coloring: what are keywords?

2006-05-11 Thread Benji Fisher
On Wed, May 10, 2006 at 03:41:47PM -0500, Stephen Boulet wrote: > I have the following line in "mycolors.vim": > > hi Keyword term=bold ctermfg=DarkBlue ctermbg=LightGray gui=bold > guifg=DarkBlue > > In vim7 for win32, python words like 'class', 'for', 'def' are dark blue, but > other works

RE: Patch for AsNeeded to define proxy commands

2006-05-11 Thread Zdenek Sekera
---Zdenek > -Original Message- > From: Benji Fisher [mailto:[EMAIL PROTECTED] > Sent: 11 May 2006 14:20 > To: vim@vim.org > Subject: Re: Patch for AsNeeded to define proxy commands > > On Wed, May 10, 2006 at 09:00:32PM +0200, Thomas wrote: > > Hi, > > > > Here is a small patch f

Re: Patch for AsNeeded to define proxy commands

2006-05-11 Thread Benji Fisher
On Wed, May 10, 2006 at 09:00:32PM +0200, Thomas wrote: > Hi, > > Here is a small patch for AsNeeded that eliminates the need to call > AN(X) for commands. It creates a file called ~/.vim/AsNeeded/ANautoload > that contains lines like: > > command! -range -nargs=* Command delcommand Command | A

RE: vim70 and insert tab -

2006-05-11 Thread Emmanuel Sixou
Thank you very much! I found it and I am happy! Here it is: /homes/emmanuel/.vim/plugin/unplugged/ctab.vim:imap =InsertSmartTab() Apparently, in vim64, the plug-in was not read recursively, and in vim70 it is read recursively. Again, thank you very much. Emmanuel Sixou Mobileye Vision Technol

Re: splitting windows

2006-05-11 Thread Tim Chase
How can I open four files (eg: file1.txt, file2.txt, file3.txt and file4.txt) for a view as following: VIM ¦file1 ¦file2 ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦

splitting windows

2006-05-11 Thread Raphael Brunner
dear users How can I open four files (eg: file1.txt, file2.txt, file3.txt and file4.txt) for a view as following: VIM ¦file1 ¦file2 ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦

Re: basic question: quick split like awk

2006-05-11 Thread Tim Chase
Is there a way to split a line automatically like awk would? Given "A quick brown fox jumped over ", awk '{print $3}' ... ==> brown Well, Vim supports passing a range of lines through awk, so assuming you have awk available, you can just do :%!awk '{print $3}' Fairly straight-fo

i_= + "\"

2006-05-11 Thread Gerald Lai
[GVim 7.0 release for Windows] This is how I do my PageUp/Down: inoremap inoremap If I do inoremap ="\C-o>\C-d>\C-o>\C-d>\C-o>\C-y>" inoremap ="\C-o>\C-u>\C-o>\C-u>\C-o>\C-e>" it does not work. This inoremap ="\C-o>\C-d>\C-d>\C-y>" inoremap ="

Re: undo/redo mess with version 7.0 and utf-8 text

2006-05-11 Thread Andrei A. Voropaev
On Thu, May 11, 2006 at 10:51:21AM +0200, Bram Moolenaar wrote: > > Andrei A. Voropaev wrote: [...] > > I can't enter Japanese if I don't use input method :) > > You can use CTRL-V u , where "" is the hex value of the > character. To find out the value use "ga" on a character. Inserting

Re: vim70 and insert tab -

2006-05-11 Thread Yakov Lerner
On 5/11/06, Emmanuel Sixou <[EMAIL PROTECTED]> wrote: So I am debugging: imap gives me: i @=20_InsertSmartTab() and I don't know where it comes from. grep InsertSmartTab on all the files did not find anything. Must come from some plugin you're using. Do :scriptnames Yakov

RE: vim70 and insert tab -

2006-05-11 Thread Emmanuel Sixou
So I am debugging: imap gives me: i @=20_InsertSmartTab() and I don't know where it comes from. grep InsertSmartTab on all the files did not find anything. Emmanuel Sixou Mobileye Vision Technologies Project Manager - ASIC Department Tel: +972 (2) 541 7311 Fax: +972 (2) 541 7300 Cell:

RE: Bug i_CTRL-X s and arrow

2006-05-11 Thread Gerald Lai
On Wed, 10 May 2006, Suresh Govindachar wrote: [snip] > > Confirmed for 7.0 release. It seems that i_up-arrow & > i_down-arrow work un-intuitively as compared to i_ctrl-p & > i_ctrl-n, respectively. Not exactly -- the bug is _NOT_ "un-intutiveness". To both Suresh and Edward: please read

Re: undo/redo mess with version 7.0 and utf-8 text

2006-05-11 Thread Bram Moolenaar
Andrei A. Voropaev wrote: > On Wed, May 10, 2006 at 08:08:57PM +0200, Bram Moolenaar wrote: > [...] > > > > Well, you say it must be japanese, thus it does matter. I have no idea > > how to enter russian or japanese. I'll have to leave this to someone > > else. > > > > Does the problem go awa

RE: vim70 and insert tab -

2006-05-11 Thread Emmanuel Sixou
Fortunately, there is another guy here that has started using vim70 and he does not have this behavior. So some settings of mine are the cause, and you should debug it. What is the way for debugging setup? Emmanuel Sixou Mobileye Vision Technologies Project Manager - ASIC Department Tel: +972 (2)

RE: vim70 and insert tabs

2006-05-11 Thread Emmanuel Sixou
noexpandtab When et is set, even the first tab in the line is expanded. I did not change any setting when moving to vim70. Emmanuel Sixou Mobileye Vision Technologies Project Manager - ASIC Department Tel: +972 (2) 541 7311 Fax: +972 (2) 541 7300 Cell: +972 (54) 5665 206 E-mail: [EMAIL PROTECTED

Re: vim70 and insert tabs

2006-05-11 Thread Yakov Lerner
On 5/11/06, Emmanuel Sixou <[EMAIL PROTECTED]> wrote: No matter its value, in both linux and windows, this behavior is the same. What's value of et option (set expandtab?') ? Yakov Lerner

Re: undo/redo mess with version 7.0 and utf-8 text

2006-05-11 Thread Andrei A. Voropaev
On Wed, May 10, 2006 at 08:08:57PM +0200, Bram Moolenaar wrote: [...] > > Well, you say it must be japanese, thus it does matter. I have no idea > how to enter russian or japanese. I'll have to leave this to someone > else. > > Does the problem go away if you don't use the input method? Then t

Re: Shell support in Vim?

2006-05-11 Thread Robert Cussons
Suresh Govindachar wrote: > Frank Terbeck wrote: > Suresh Govindachar >> Personally, the step mentioned below, viz., "moving the mouse >> to the xterm" is a _big_ pain. As a user, what I like about >> the idea of a shell inside vim is the means to avoid the mouse. >> in console v

How to set auto complete python code

2006-05-11 Thread 邓作霖
Hello; I am a beginner use VIM, I can set highlighting the python code but I can't set editor to auto complete the python libary function name and etc. Can VIM do this work like any IDE? And how to enable this function in VIM? Thank you! best regards Deng Zuolin

Re: Shell support in Vim?

2006-05-11 Thread Matthew Winn
On Wed, May 10, 2006 at 03:37:39PM -0700, Suresh Govindachar wrote: > > > Just use GNU screen . > > There's no need for a mouse just to switch between vim and a > > shell at all. > > Thanks, but I am on Windows. What's wrong with opening a second wi

Re: keymaps in vim7.0, where are they?

2006-05-11 Thread Andrei A. Voropaev
On Wed, May 10, 2006 at 10:02:59PM -0400, Benji Fisher wrote: > On Wed, May 10, 2006 at 10:36:52AM +0200, Andrei A. Voropaev wrote: > > Hi! > > > > I've installed vim 7 from sources. This did the installation for the RT, > > but somehow the keymaps directory is missing. I've copied it from the > >

Re: www.vim.org/tips

2006-05-11 Thread Bram Moolenaar
[removed the vim-dev list, this is not about developing Vim] > I asked to resolve this inconvenience on www.vim.org/tips > website several years ago. I am repeating my plea again. > > It is very inconvenient that it's impossible to edit > my tips on www.vim.org/tips. There are always > improveme

RE: vim70 and insert tabs

2006-05-11 Thread Emmanuel Sixou
No matter its value, in both linux and windows, this behavior is the same. Emmanuel Sixou Mobileye Vision Technologies Project Manager - ASIC Department Tel: +972 (2) 541 7311 Fax: +972 (2) 541 7300 Cell: +972 (54) 5665 206 E-mail: [EMAIL PROTECTED] -Original Message- From: Yakov Lerne

RE: Bug i_CTRL-X s and arrow

2006-05-11 Thread Bram Moolenaar
Suresh Govindachar wrote: > {Added postscript to what I sent a few minutes ago.] > > version 7.0.1 > gvim --noplugin -u NONE -U NONE > and type ifooey and do i_CTRL-X s > > Message at bottom will say: "match 1 of 100" > >>> > >>> I get "Spell checking is