Re: Any programs to format numbers out there?

2006-07-02 Thread Mun Johl
Hi, Thanks for the suggestions! I have working maps :) -- Mun

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( '' ) > endfunction > > let F=function('s:T') > echomsg F() > > let F1 = function( '

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. ") you can use to insert the word under the cursor. -- Stefan

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 switchi

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 lo

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

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 t