sponsor Vim development Vim logo Vim Book Ad

html_danish : Change danish special characters (æøå) to their html-version and vice versa

 script karma  Rating 148/40, Downloaded by 1277  Comments, bugs, improvements  Vim wiki

created by
sune vuorela
 
script type
utility
 
description
Useful for people developing Danish (or perhaps Norwegian) websites in HTML or PHP.

Upon loading a HTML or PHP-file, this script replaces all instances of the HTML entities of the Danish characters (aelig, oslash, aring) with the normal characters (æ,ø,å) for easy reading.

Upon saving the normal Danish characters are replaced with the HTML encoded.

Inspired by the html_umlaute: vimscript #907  and the html_portuguese: vimscript #924
 
install details
put it into vim plugin folder (/usr/share/vim/vim61/plugin) or in 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_da.vim 1.0 2004-12-22 6.0 sune vuorela Initial upload
ip used for rating: 142.132.191.50

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