X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=48b9a83abf1eee84a5472c9988da8d8ead9c610b;hp=4fc1e2f6fd16f08a79a48fdcb946964706659c19;hb=800471cc09148d01c2d972e37bc327caad6788e0;hpb=bd39f9f2114f1c5d7b19834fa82ce060441b20a7 diff --git a/.vimrc b/.vimrc index 4fc1e2f..48b9a83 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,6 @@ +" $Id$ + + if !exists("g:_kratochvil_vimrc") let g:_kratochvil_vimrc=1 @@ -44,7 +47,8 @@ endfunction set encoding=utf-8 set termencoding=utf-8 " fileencoding is detected from fileencodings, first one for empty files -set fileencodings=utf-8,iso-8859-2 +" 'iso-8859-2,euc-jp' really does not work for 'euc-jp' +set fileencodings=utf-8,euc-jp,iso-8859-2 ca X x syntax off @@ -82,5 +86,6 @@ noremap D :set hlsearch/^[+-][+-]\([^+-].*\\|\)$ noremap w 0i /[^ ]vf.h"kyf./[^ ]vf.h"ly0x:r !date -d "`date '+\%Y'`-l-k" '+\%u'yypkV:!tr '1234567' 'PUSCPSN'jV:!tr '1234567' 'otttaoe'kJxv0xk0llllllplxxjddk0 noremap * :let ic_save=&ic:set noic*:let &ic=ic_save noremap # :let ic_save=&ic:set noic#:let &ic=ic_save +noremap :w:!aspell --check '%':e endif "!exists("g:_kratochvil_vimrc")