sponsor Vim development Vim logo Vim Book Ad

hungarian_to_english : Strips Hungarian notation from C and C++ identifiers.

 script karma  Rating 3/2, Downloaded by 1092  Comments, bugs, improvements  Vim wiki

created by
Issac Trotts
 
script type
utility
 
description
A function to strip Hungarian decorations from C and C++
identifier names.  In some cases, this can make code
easier to read.  It might also change how your program
runs or make it not compile, so use with caution!
 
install details
Put hungarian_to_english.vim in $VIM/vimfiles/plugin directory and change the key mapping from <F8> to
whichever key combination you prefer.
 

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
hungarian_to_english.vim 1.0.3 2002-06-28 6.0 Issac Trotts - removal of fBlah
- no more spurious error messages from patterns not found
hungarian_to_english.vim 1.0.2 2002-06-26 6.0 Issac Trotts - removal of aBlah, eBlah, _blah, chBlah
- better handling of m_bBlah and its friends
- fixed it so it works not just on the first offending instance
  of each line
- corrected incorrectly changing identifiers like PRINTF when
  ignorecase is turned on

hungarian_to_english.vim 1.0.1 2002-06-26 6.0 Issac Trotts - fixed a bug with capitalization
- added removal of the m_blah notation
- changed to only operate on the selected range
hungarian_to_english.vim 1.0 2002-06-25 6.0 Issac Trotts Initial upload
ip used for rating: 216.73.216.221

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