set_utf8.vim : Switching to Unicode in an orderly manner
script karma |
Rating 49/22,
Downloaded by 4467 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Antoine Mechelynck |
|
script type |
utility |
|
description |
This script endeavours to set the various options required to allow (g)vim to process Unicode files properly, without, for instance, messing up keyboard input. |
|
install details |
Installation:
1) Copy this script to your "user scripts" direcory,
i.e.: (direectory names below as required by the corresponding shell)
o for Unix (with sh or similar):
$HOME/.vim/scripts
o for Windows (with COMMAND.COM, CMD.EXE or similar)
- if you have a HOME directory
%HOME%\vimfiles\scripts
- if you don't; but have a VIM directory
%VIM%\vimfiles\scriprs
- otherwise, it will usually be something similar to one of the
following, depending on where you installed Vim (take your pick):
C:\VIM\vimfiles\scripts
"C:Program Files\VIM\vimfiles\scripts"
C:\PROGRA~1\VIM\vimfiles\scripts
C:\vimfiles\scripts
2) Open the script in a text editor such as Vim.
There are two settings at the end which you might want to comment away.
How to use it: simply add the following line to your vimrc, if and when you
want to switch over to UTF-8 processing:
runtime scripts/set_utf8.vim
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.216.1.197
|