sponsor Vim development Vim logo Vim Book Ad

rotate.vim : This file enables Vim to rotate text (counter) clockwise, put it upside down,etc

 script karma  Rating 38/16, Downloaded by 1249  Comments, bugs, improvements  Vim wiki

created by
Jens Paulus
 
script type
utility
 
description
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 :<range>Rot [arg] allows a range in which this will be done.
If no range is specified the current line is taken. The optional argument (in parenthesis) specifies which
operation is performed. If none is given, lines and columns are exchanged.
The command :Rotv [arg] operates on the last visual area and is good for use in Visual mode.
The corresponding commands :<range>Srot [arg] and :Srotv [arg] open the result in a new window.
Any comments are welcome.

 
install details
Put it in your plugin directory.

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
rotate.vim 1.6 2005-02-11 6.0 Jens Paulus New version which fixes bad performance when operating on huge text files

rotate.vim 1.2 2005-01-28 6.0 Jens Paulus A slightly improved version

rotate.vim 1.0 2005-01-17 6.0 Jens Paulus Initial upload
ip used for rating: 3.133.79.70

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github