html_umlaute


Ⅰ. 插件描述

replaces german Umlaute with their HTML Encoding on saving

Ⅱ. 基本信息

创建日期:  2004-02-11
使用用户:  1
Github星:  1
插件作者:  Timo Teifel

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/html-umlaute'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/html-umlaute'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/html-umlaute'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/html_umlaute

Ⅳ. 文档说明

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...

添加新评论