An implementation of Lehmer's pseudo-random number algorithm in VimL.
" echo a random integer in the specified range.
echo Random(1,10)
The result will be an integer greater or equal to 1 and less than or equal to 10.
With NeoBundle
NeoBundle 'claperius/random-vim'
With VAM
call vam#ActivateAddons(['random-vim'])
With Vundle
Plugin 'claperius/random-vim'
With pathogen
cd ~/.vim/bundle
git clone https://github.com/claperius/random-vim
With Vimana
vimana install gh:claperius/random-vim
With Plug
Plug 'claperius/random-vim'
With unbundle
cd ~/.vim/bundle
git clone https://github.com/claperius/random-vim
See more plugin managers here.