Rotate.vim is a project mainly written in Vim Script, it's free.
This file enables Vim to rotate text (counter) clockwise, put it upside down,etc
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1186
This script enables Vim to do things like rotate text (counter) clockwise (l/r), put it upside down (u),
exchange lines and columns (x), reorder it from right to left (h) or from bottom to top (v).
The command :