Tag Archives: vim

Correcteur orthographique sous Vim

J’utilisais le plugin vimspell pour la correction orthographique sous Vim. Depuis la version 7 ce n’est plus nécessaire, un correcteur est inclus dans vim, en revanche les dictionnaires français ne sont pas installés par défaut (en tout cas pas sur ma debian).

Pour les installer, suivre la procédure suivante:

mkdir -p /tmp/vimspell
cd /tmp/vimspell
wget http://ftp.vim.org/pub/vim/runtime/spell/fr.utf-8.sug
wget http://ftp.vim.org/pub/vim/runtime/spell/fr.utf-8.spl
wget http://ftp.vim.org/pub/vim/runtime/spell/fr.latin1.sug
wget http://ftp.vim.org/pub/vim/runtime/spell/fr.latin1.spl
sudo cp * /usr/share/vim/vim71/spell

et voila :setlocal spell spelllang=fr ça marche!