BufWritePre and :wqa

2007-03-05 Thread Cyril Slobin
it will be fixed, I'll find a way to emulate it! ;-) -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

dos32 colors

2007-03-06 Thread Cyril Slobin
to write a such a script exist other than: if has(dos32) let color1 = #0c else let color1 = #0c endif ? By the way, 2html.vim does not perform this test and colors of HTML generated in dos32 are wrong. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45

Re: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
, char, char) endfunction skip nmap silent F4 :let EXTERNAL = !EXTERNALCR imap F6 C-OF4 Code of a character under cursor is always displayed in statusline (in both hex and dec), and I can switch between `encoding` and `fileencoding`. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty

Re: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
` is different. But you are right noting that I have not tested this `fileencoding` other than 8-bit one -- except the marginal case when it is utf-8 too. But again -- `encoding` *is* multibyte and it works. Why not just to test? I haven't Chinese fonts installed... -- Cyril Slobin [EMAIL PROTECTED

Re: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
` is utf-8 and `fileencoding` is NOT utf-8 (but any 1-byte or 2-byte encoding should work). This should however NOT work if `encoding` is other than utf-8 or if `fileencodibg` is utf-8 itself. And check for byte order -- I'm not sure whether big-endian or little-endian is correct here. -- Cyril

Re: replace upper-case with lower-case

2007-03-08 Thread Cyril Slobin
? ShOrT - ??? -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Add open in tab to file browser

2007-03-17 Thread Cyril Slobin
:call SIDNetSplit(3)cr --- 2949,2954 -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: highlighting weird characters...

2007-03-19 Thread Cyril Slobin
it in backward direction I've write this plugin: http://www.vim.org/scripts/script.php?script_id=1761 Documentation inside. I hope this helps. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: Masking in context for spell check -- was:Re: Spell check not working when editing HTML

2007-03-25 Thread Cyril Slobin
and some other are available out of the box, or you can add your own. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

VIM Spelling has broken me.

2007-03-26 Thread Cyril Slobin
/? loose/? -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Esperanto dictionary

2007-03-30 Thread Cyril Slobin
technology, I've just manually converted ispell files to myspell ones and than compiled them to Vim format. I have not checked eo.iso-8859-3.spl file, I newer use iso-8859-3. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I

Netrw under Windows 98 doesn't go to upper directory

2007-03-30 Thread Cyril Slobin
,'^\(\a:[\\/]\)\=\(.*\)[\\/]\([^\\/]\+$\)','\1\2','') else let dirname= substitute(dirname,'^\(\a:[\\/]\)\=\(.*[\\/]\)\([^\\/]\+[\\/]$\)','\1\2','') endif This works for me. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I

Re: Esperanto dictionary

2007-04-02 Thread Cyril Slobin
example often written CXirkaux because the CX is (effectively) one character, capitalized? I've newer seen this form, and I believe it is ugly. And in unicode terms, this one character is not capitalized, but title-cased. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http

Esperanto dictionary

2007-04-03 Thread Cyril Slobin
both encoding and termencoding to utf-8. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: Esperanto dictionary

2007-04-03 Thread Cyril Slobin
in it! -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: Moving cursor on wrapped lines

2007-04-14 Thread Cyril Slobin
map Down gj imap expr Down pumvisible() ? Down : C-Ogj map Up gk imap expr Up pumvisible() ? Up : C-Ogk -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: Making vim more friendly under windows with non ascii codepage

2007-04-15 Thread Cyril Slobin
of this, and it is really handy. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: CLTR-N and enter

2007-04-17 Thread Cyril Slobin
. ;-) -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'

Re: Esperanto dictionary

2007-04-20 Thread Cyril Slobin
an appropriate font installed to read this). It is handy to be able to check Esperanto text in both modes (or choose any one of two). Probably to make two files -- eo.ascii.spl and eo.utf-8.spl -- will be theoretically more pure, but my solution allows to switch between two modes fast. -- Cyril Slobin

Re: Esperanto dictionary

2007-04-20 Thread Cyril Slobin
, setting eo accepts both. And again -- I have not tested latin3 version of spl file, I never use latin3. -- Cyril Slobin [EMAIL PROTECTED] `When I use a word,' Humpty Dumpty said, http://45.free.net/~slobin `it means just what I choose it to mean'