Re: wish: allow a: in the function def

2007-04-23 Thread Peter Hodge
--- Nikolai Weibull <[EMAIL PROTECTED]> wrote: > On 4/23/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: > > wish: allow a: in the function definition line: > > function foo(a:line1, a:line2) > > This is currently not allowed. But it seems logical to allow it. > > Why should it be? Extra typi

Re: wish: allow a: in the function def

2007-04-23 Thread Robert Lee
Nikolai Weibull wrote: On 4/23/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: wish: allow a: in the function definition line: function foo(a:line1, a:line2) This is currently not allowed. But it seems logical to allow it. Why should it be? Extra typing? Counterwish: implement better seman

search() and smartcase

2007-04-23 Thread Yakov Lerner
The search() doesn't seem to follow 'smartcase' (and this does not seem to be documented). Is it possible to have a flag to search() to obey the 'smartcase' ? Can it be included into todo ? Yakov

Re: [PATCH] Determining whether a window used :lcd

2007-04-23 Thread Nikolai Weibull
On 4/20/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: On 4/11/07, Bob Hiestand <[EMAIL PROTECTED]> wrote: > The attached patch very simply implements the following from the todo: > 7 There is no way to change directory and go back without changing the local > and/or global directory.

coredump with match by lines-range (7.0.222); highlighting is not painted fully.

2007-04-23 Thread Yakov Lerner
I get coredump and repainting problem, trying to highlight range of lines with :match, as follows: vim -u NONE# this is v7.0.222 :set nocp :help search() " get some text. the line number is 4078 :match Search /\%4078l\_.*\%4200l/ " the range of lines 4078-4200 is highlighted here. S

Re: wish: allow a: in the function def

2007-04-23 Thread Nikolai Weibull
On 4/23/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: wish: allow a: in the function definition line: function foo(a:line1, a:line2) This is currently not allowed. But it seems logical to allow it. Why should it be? Extra typing? Counterwish: implement better semantics for VimScript so th

wish: allow a: in the function def

2007-04-23 Thread Yakov Lerner
wish: allow a: in the function definition line: function foo(a:line1, a:line2) This is currently not allowed. But it seems logical to allow it. Yakov

Re: [PATCH] Determining whether a window used :lcd

2007-04-23 Thread Bob Hiestand
> I agree that a different function would be more useful. I prefer > haslocaldir(). This would return zero when the current window uses the > global directory, one when it has a local directory. Later we could add > an argument for selecting the window. > > If you agree, and nobody has somethin

Re: [PATCH] Determining whether a window used :lcd

2007-04-23 Thread Bob Hiestand
On 4/20/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote: It was still in my pile of messages to read. I apologize for my impatience. I agree that a different function would be more useful. I prefer haslocaldir(). This would return zero when the current window uses the global directory, one wh

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Виктор Кожухаров
В пн, 2007-04-23 в 19:56 +0200, Nikolai Weibull написа: > On 4/23/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: > > Viktor Kojouharov wrote: > > > > It turned out that these mappings broke the arrow keys in the terminal: > > > inoremappumvisible()?"\":"\" > > > IMHO, if one is expe

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Nikolai Weibull
On 4/23/07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Viktor Kojouharov wrote: > It turned out that these mappings broke the arrow keys in the terminal: > inoremappumvisible()?"\":"\" IMHO, if one is expecting to use vim (as opposed to gvim), mapping causes trouble. That's b

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Charles E Campbell Jr
Viktor Kojouharov wrote: It turned out that these mappings broke the arrow keys in the terminal: inoremappumvisible()?"\":"\" inoremap pumvisible()?"\":"\" inoremap pumvisible()?"\":"\" inoremap pumvisible()?"\":"\" inoremap pumvisible()?"\\\":"\" inoremap p

Re: suggestion

2007-04-23 Thread Marc Weber
On Tue, Apr 17, 2007 at 10:35:14PM -0400, David Howland wrote: > Dear Vim gods, > > Please consider adding the following command to Vim: > :bc (for buffer close) > It acts just like :bd , except that if the buffer is in a split window, > it does not remove the window. > Thank you. I've seen thi

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Viktor Kojouharov
On 4/23/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Виктор Кожухаров wrote: > Hello, > > I think there might be a bug with vim7, and they way it handles the > arrow keys in a terminal. > The problem is, that in insert mode, the arrow keys don't navigate > through the text, but output letters. F

Re: possible bug with vim7 and the arrow keys

2007-04-23 Thread Viktor Kojouharov
On 4/23/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: Виктор Кожухаров wrote: > Hello, > > I think there might be a bug with vim7, and they way it handles the > arrow keys in a terminal. > The problem is, that in insert mode, the arrow keys don't navigate > through the text, but output letters. F

Re: [Off-topic] Vimperator

2007-04-23 Thread Asiri Rathnayake
On Mon, 2007-04-23 at 11:34 +0200, Martin Stubenschrott wrote: > I am sorry, if this kind of messages are highly despised on this list. > But since vim-users are my main target group, > > I created a new Firefox extension, which makes browsing the web feel > like browsing a vim buffer: > > http:

[Off-topic] Vimperator

2007-04-23 Thread Martin Stubenschrott
I am sorry, if this kind of messages are highly despised on this list. But since vim-users are my main target group, I created a new Firefox extension, which makes browsing the web feel like browsing a vim buffer: http://vimperator.mozdev.org Maybe it helps you vim users, that :wq actually work