sponsor Vim development Vim logo Vim Book Ad

My Code Style Toggle : help you toggle the style of the code blocks easily !

 script karma  Rating 32/12, Downloaded by 946  Comments, bugs, improvements  Vim wiki

created by
luo chen
 
script type
utility
 
description
Your boss ask for some specific unique style of code blocks ?
This can help you toggle it easily and you can keep your own habit by this way .
just try to use <F5> and <F6> to toggle !

if (a == b) {
        r = true ;
}

or :

if (a == b)
{
        r = true ;
}
 
install details
put the mycodestyle.vim file to dir vim/vim73/plugin or vim/vimfiles/plugin .
the default keys mapped is <F5> and <F6>. And you can change these by editting the source code.
 

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
mycodestyle.vim 1.0 2012-09-02 7.3 luo chen Initial upload
ip used for rating: 3.137.192.3

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