n61*_*007 1 windows vim gvim localization
当按下w
或e
带有重音的句子时(用我的母语写),例如**
这里的第一个(标记为):
**Éj-mélyb?l fölzeng?**
- csing-ling-ling - száncseng?.
Száncseng? - csing-ling-ling -
tél csendjén halkan ring. [1]
Run Code Online (Sandbox Code Playgroud)
字符?
,ö
以及其他字符[2] 使我的 gVim 认为它们是词尾,因此它会停在它们上面(在普通模式下)。gVim 停在标有_
它不应该的位置:
Éj-mélyb_?l f_ölzeng_?
.
我想设置 gVim,以便即使在包含重音和其他本地字符时也能正确处理单词。但是我在哪里设置这个?
我在Win32、vim v 7.3.46上使用它。
附录信用和版本和信息
[ 1 ] - Weöres Sándor 的诗节选
[2] - “others”,这里没有提到:) like í
,?
也是一个问题。另一方面,gVim 似乎已经与和一起工作。é
á
gVim 版本信息:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02)
Included patches: 1-46
Compiled by Bram@KIBAALE
Big version with GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +float +folding -footer +gettext/dyn -hangul_input
+iconv/dyn +insert_expand +jumplist +keymap +langmap +libcall +linebreak
+lispindent +listcmds +localmap -lua +menu +mksession +modify_fname +mouse
+mouseshape +multi_byte_ime/dyn +multi_lang -mzscheme +netbeans_intg +ole
-osfiletype +path_extra +perl/dyn +persistent_undo -postscript +printer
-profile +python/dyn +python3/dyn +quickfix +reltime +rightleft +ruby/dyn
+scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop
+syntax +tag_binary +tag_old_static -tag_any_white +tcl/dyn -tgetent
-termresponse +textobjects +title +toolbar +user_commands +vertsplit
+virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu
+windows +writebackup -xfontset -xim -xterm_save +xpm_w32
Run Code Online (Sandbox Code Playgroud)
这些命令的输出是什么?
:set encoding?
:set fileencoding?
:set fileencodings?
Run Code Online (Sandbox Code Playgroud)
我可以bwe
在你的例子中做得很好:set encoding=utf-8
。
理想情况下,您可以添加set encoding=utf-8
到您的_VIMRC
.
归档时间: |
|
查看次数: |
909 次 |
最近记录: |