On Saturday, March 24, 2012 6:40:49 PM UTC+9, rameo wrote:
> Would it be possible in a next release to use vim scripting language
> without putting it in menu.vim or .vimrc?
> For immediate, temporary scripting.
> p.e.in a little window beside the vim window.
>
> This gives the possibility to do little things very quickly without
> the use of macros.
> p.e.
>
> for i in range (3,30)
> print (put) "2**".i."=".2**i
> endfor
>
>
> output:
>
> 2**3 = 8
> 2**4 = 16
> ...
> etc
:call setline('.', map(range(3,30), 'printf("2**%d = %-10.0f", v:val, pow(2,
v:val))'))
--
You received this message from the "vim_dev" 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