Friday, May 14, 2010

Re: Strange behaviour with latin character

On 14/05/10 20:42, jujul wrote:
>
> Hi,
>
> when typing latin character, vim either add a whitespace ("é"->"é ") or
> something very different ("à"->"| "). It used to work and have no idea of
> have changed.
> Any suggestion?
>
> Just in case, below is my .vimrc...
>
> Thanks
> Jul
>
>
> set statusline=%f%m%r%h%w\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
> :set laststatus=2
> set nocompatible
> set autoindent
> set smartindent
> set expandtab
> set tabstop=4
> set shiftwidth=4
> set showmatch
> set ruler
> set incsearch
> set ignorecase
> set smartcase
> syntax on
>

gvim (which flavour: W32, MacVim, GTK2, Motif, ...) or console Vim
(running in which terminal: cmd.exe, Terminal.app, Linux text console,
xterm, konsole, mlterm, gnome-terminal, ...)? Also,

:language ctype
:verbose set encoding? termencoding?

and in the editfile (or one of them) where you have problems,

:verbose setlocal keymap? imi?

and for my own edification (not relevant to the problem at hand)

:filetype

(:filetype without :set before it and with nothing after it)


I recommend to keep 'encoding' at utf-8 but some precautions may be
necessary: see http://vim.wikia.com/wiki/Working_with_Unicode


Best regards,
Tony.
--
What the large print giveth, the small print taketh away.

--
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: