sponsor Vim development Vim logo Vim Book Ad

html_umlaute : replaces german Umlaute with their HTML Encoding on saving

 script karma  Rating 29/14, Downloaded by 1510  Comments, bugs, improvements  Vim wiki

created by
Timo Teifel
 
script type
ftplugin
 
description
Useful for all people who edit german websites with Vim.
On loading a HTML file, this script replaces all the html-encoded german Umlaute (&*uml;) with their normal Ascii-Chars (ä,ö,ü, and ß) so they're more easily readable.

When you save the file, all Ascii-Chars are replaced by the HTML Encoding. Could be extended to handle other chars as well (except for < > and " which could only be replaced context-sensitive...) but I decided to use it only for these german letters...
 
install details
put it into your ~/.vim/plugin/ folder
 

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
html_umlaute.vim 1.1 2004-02-11 6.0 Timo Teifel Initial upload
ip used for rating: 3.17.6.75

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