Re: minor feature request: let!

2006-07-02 Thread Nikolai Weibull
On 7/1/06, justin constantino [EMAIL PROTECTED] wrote: E706: Variable type mismatch As a minor improvement, I think it would be nice if you could do: let foo = one,two,three let! foo = split(foo, ',') I think we should just remove the whole restriction. nikolai

Re: minor feature request: let!

2006-07-02 Thread Mikolaj Machowski
Dnia niedziela, 2 lipca 2006 12:06, Nikolai Weibull napisał: On 7/1/06, justin constantino [EMAIL PROTECTED] wrote: E706: Variable type mismatch As a minor improvement, I think it would be nice if you could do: let foo = one,two,three let! foo = split(foo, ',') I think we should

Re: minor feature request: let!

2006-07-02 Thread Eric Arnold
On 7/2/06, Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia niedziela, 2 lipca 2006 12:06, Nikolai Weibull napisał: On 7/1/06, justin constantino [EMAIL PROTECTED] wrote: E706: Variable type mismatch As a minor improvement, I think it would be nice if you could do: let foo =

Re: minor feature request: let!

2006-07-02 Thread Yakov Lerner
On 7/2/06, Mikolaj Machowski [EMAIL PROTECTED] wrote: Dnia niedziela, 2 lipca 2006 12:06, Nikolai Weibull napisał: On 7/1/06, justin constantino [EMAIL PROTECTED] wrote: E706: Variable type mismatch As a minor improvement, I think it would be nice if you could do: let foo =

Re: minor feature request: let!

2006-07-02 Thread Yakov Lerner
On 7/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: ... Justin and Nikolai to ask for analogous silent type conversion between lists and strings. Excuse me, I was wrong in this sentence. Justin and Nikolai didn't advocate silent type conversion between lists and strings. Yakov

Execute Function/Ruby Script in Visual Mode

2006-07-02 Thread Matthias-Christian Ott
Hi, normally functions or even ruby scripts run in ex mode, but sometimes it necessary to execute them in visual mode (e.g. using v_s to replace the selected text). When switching back to visual mode (e.g. via ESC v) the selection is lost, so it's no a real solution. Any suggestion regarding

Re: Making :grep easier to use

2006-07-02 Thread thomas scott urban
On Tue, 2005-12-06 at 12:32 -0800, David Frey wrote: Often times I am looking at a file and there is a certain string sitting infront of me that I want to grep for. Right now, I go into command mode and type :grep some_string *.extension Is it possible to yank some_string and then paste

Re: Execute Function/Ruby Script in Visual Mode

2006-07-02 Thread Yakov Lerner
On 7/2/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Hi, normally functions or even ruby scripts run in ex mode, but sometimes it necessary to execute them in visual mode (e.g. using v_s to replace the selected text). When switching back to visual mode (e.g. via ESC v) the selection is

Re: Execute Function/Ruby Script in Visual Mode

2006-07-02 Thread Yakov Lerner
On 7/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 7/2/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Hi, normally functions or even ruby scripts run in ex mode, but sometimes it necessary to execute them in visual mode (e.g. using v_s to replace the selected text). When switching back

Re: Making :grep easier to use

2006-07-02 Thread Stefan Karlsson
A bit off-topic, but in addition to yank and paste (e.g. c-r) you can use c-rc-w to insert the word under the cursor. -- Stefan

Re: Funcref and script local functions

2006-07-02 Thread Hari Krishna Dara
On Thu, 29 Jun 2006 at 10:50pm, Eric Arnold wrote: Ok. For starters, it seems that you *can* call a numbered function from anywhere: function! s:T() echomsg here echomsg 'SID=' . expand( 'sfile' ) endfunction let F=function('s:T') echomsg F() let F1 = function( 'SNR66_T' )