How can I set Vim to obey accents of my spoken language?

Posted by naxa on Super User See other posts from Super User or by naxa
Published on 2012-06-08T08:06:40Z Indexed on 2012/06/08 10:42 UTC
Read the original article Hit count: 464

Filed under:
|
|
|
|

When pressing w or e in sentences with accents (written in my native language), such as the first one (marked **) here:

**Éj-mélybol fölzengo**
- csing-ling-ling - száncsengo.
Száncsengo - csing-ling-ling -
tél csendjén halkan ring.          [1]

the characters o, ö, among others [2], make my gVim think they are word-ends so it stops on them (in Normal mode). gVim stops on the positions marked with _ where it shouldn't:

Éj-mélyb_ol f_ölzeng_o.

I would like to set gVim so it properly handle words even when containing accents and other local characters. But where do I set this?

I use it on Win32, vim v 7.3.46.


[1] - excerpt of a poem by Weöres Sándor

[2] - "others", not mentioned here :) like í, u are also a problem. On the other hand, gVim seems to already work with é and á.


gVim version info:

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

© Super User or respective owner

Related posts about Windows

Related posts about vim