Monday, July 11, 2011

Re: vim input command line

On Tue, July 12, 2011 5:03 am, rudy b wrote:
> function! SelectBeam()
> call inputsave()
> let name = input('Enter Beam #: ')
> call inputrestore()
> :g!/execute . name/d

exe ':g!/' . escape(name, '/') . '/d/'

> endfunction
>

regards,
Christian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: