> how to display characters "čćšđž" in vim and is that possible?
> ---------------
> when i try to type this chars, i get "▐ " (something like this..)
> what i should do?
> thank you....
>
To display these characters, you need:
1. a font which has the glyphs for them. In console mode, the fonts are
a function of the terminal and Vim has no control over them. In GUI
mode, the font is set by means of the 'guifont' option, see
http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI
2. an 'encoding' which can represent them. The only time when it is safe
to change the value of 'encoding' is when _all_ buffers currently loaded
(including any hidden buffers) are empty, for instance in your vimrc. See
http://vim.wikia.com/wiki/Working_with_Unicode
which also applies to changing between non-Unicode encodings, though for
best compatibility and portability I recommend (if your Vim is compiled
with +multi_byte) to always use UTF-8 for 'encoding'.
3. Making sure that Vim understands what you type at the keyboard. See
the URL under (2) above about avoiding to create misunderstandings
between Vim and the keyboard driver, and also
:help i_CTRL-V_digit
:help i_CTRL-K
:help digraph.txt
:help digraphs-default
:help 'keymap'
:help mbyte-keymap
:help keymap-accents
and the few lines which precede it
:view $VIMRUNTIME/keymap/accents.vim
:help i_CTRL-^
:help 'iminsert'
:help ga
Best regards,
Tony.
--
History has the relation to truth that theology has to religion --
i.e., none to speak of.
-- Lazarus Long
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment