How to shuffle a list in vim? December 1, 2023 by Tarik You could go “UNIX style” and use the shuf command from the coreutils package: :10,20!shuf<CR>