sponsor Vim development Vim logo Vim Book Ad

TransferChinese.vim : Transfer Chinese to Chinese

 script karma  Rating 34/10, Downloaded by 975  Comments, bugs, improvements  Vim wiki

created by
Vim IM
 
script type
utility
 
description
To mimic what gu and gU do for ascii,
I defined two new maps, gS and gT, to transfer between
the simplified Chinese and the traditional Chinese.

Features:

(a) "quick and dirty" way to transfer Chinese to Chinese
(b) 20% of efforts for solving 80% of problems
(c) 2172 Chinese pairs are used for one-to-one map
(d) cursor position is kept after gS or gT
(e) [range] for visual mode is supported
 
install details
      
This file should reside in the plugins directory,
to be automatically sourced. If not, you can manually
source this file using ':source TransferChinese.vim'.

Usage:

[range]gS  (transfer from Traditional to Simplified)
[range]gT  (transfer from Simplified to Traditional)

[range]:ChineseToggle<CR>  (toggle between Chinese, for fun)


【安民告示】

This tool is obsolete.
The same feature can be found in VimIM with less memory consumption.

(1) download:
    (1.1) http://vim.sourceforge.net/scripts/script.php?script_id=2506
    (1.2) http://vimim.googlecode.com/svn/trunk/plugin/vimim.vim
(2) installation:
    (2.1) 插上程式文件 vimim.vim
    (2.2) 插上字库文件 vimim.cjk.txt
(3) usage:
    (3.1) 〖简体变繁体〗 :VimIM
    (3.2) 〖繁体变简体〗 :VimIM
 

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
TransferChinese.zip 0.9.0 2004-05-30 6.0 Vim IM Initial upload
ip used for rating:

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.
   
OSDN.net Logo