Re: Esperanto dictionary

2007-04-20 Thread Cyril Slobin
ŭ" only, setting eo_ux accepts ascii "Cxirkaux" only, 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'

Re: Esperanto dictionary

2007-04-20 Thread Cyril Slobin
ion of the word "Ĉirkaŭ" (I hope you have 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

Re: CLTR-N and enter

2007-04-17 Thread Cyril Slobin
vorite. ;-) -- 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
WIndows one, but after a shot time you will get used 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: Moving cursor on wrapped lines

2007-04-14 Thread Cyril Slobin
up menu is visible map gj imap pumvisible() ? "" : "gj" map gk imap pumvisible() ? "" : "gk" -- 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
sider you use the word "Linux" 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'

Esperanto dictionary

2007-04-03 Thread Cyril Slobin
n simple text format. BTW x-style is not free from such problems. Pure Esperanto text is OK, but consider you use the word "Linux" 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'

Esperanto dictionary

2007-04-03 Thread Cyril Slobin
tead of fyxedsys (Courier New is fine). Then log into Unix site, run Vim and set 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-02 Thread Cyril Slobin
plugin. Also isn't your 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 PR

Netrw under Windows 98 doesn't go to upper directory

2007-03-30 Thread Cyril Slobin
bsolute. My workaround follows: elseif !g:netrw_cygwin && (has("win32") || has("win95") || has("win64") || has("win16")) " windows if a:islocal let dirname= substitute(dirname,'^\(\a:[\\/]\)\=\(.*\)[\\/]\([^\\/]\+$\)'

Esperanto dictionary

2007-03-30 Thread Cyril Slobin
m ftp site. I've newer use aap and don't know vim maintaining 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

VIM Spelling has broken me.

2007-03-26 Thread Cyril Slobin
y're/? lose/? 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'

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

2007-03-25 Thread Cyril Slobin
otation to utf-8, spell check it and convert back. Conversion tables for HTML, LaTeX, Esperanto "Cxirkaux"-notation 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'

Re: highlighting "weird" characters...

2007-03-19 Thread Cyril Slobin
or to do 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'

Add "open in tab" to file browser

2007-03-17 Thread Cyril Slobin
rw_curdir,'./'),1) nnoremap s :call NetSaveWordPosn()let g:netrw_sort_by= (g:netrw_sort_by =~ 'n')? 'time' : (g:netrw_sort_by =~ 't')? 'size' : 'name'exe "norm! 0"call LocalBrowse(LocalBrowseChgDir(b:netrw_curdir,'./'))call NetRestoreWordPosn() nnoremap S :call NetSortSequence(1) - nnoremap t:call NetSplit(5) nnoremap u :call NetBookmarkDir(4,expand("%")) nnoremap U :call NetBookmarkDir(5,expand("%")) nnoremap v :call NetSplit(3) --- 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: replace upper-case with lower-case

2007-03-08 Thread Cyril Slobin
-> VERYLONG or SHORT->VERYLong ? 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'

Re: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
ncodibg` is utf-8 itself. And check for byte order -- I'm not sure whether big-endian or little-endian is correct here. -- 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: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
very goal of this code is that `encodig` is utf-8 while `fileencoding` 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 hav

Re: print hex value of cp936 Chinese char?

2007-03-07 Thread Cyril Slobin
let format = "0x%02X (%d)" endif let char = char2nr(char) return printf(format, char, char) endfunction nmap :let EXTERNAL = !EXTERNAL imap Code of a character under cursor is always displayed in statusline (in both hex and dec), and I can switch between `encoding` and `fileen

dos32 colors

2007-03-06 Thread Cyril Slobin
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 us

Re: BufWritePre and :wqa

2007-03-06 Thread Cyril Slobin
On 3/6/07, Cyril Slobin <[EMAIL PROTECTED]> wrote: Curioser and curioser! When I explicitly modify a buffer by hand, the event IS triggered. But if the buffer is generated by :TOhtml command, it is marked as 'modified', but the event IS NOT triggered. I do not know how :TOh

Re: BufWritePre and :wqa

2007-03-06 Thread Cyril Slobin
red. But if the buffer is generated by :TOhtml command, it is marked as 'modified', but the event IS NOT triggered. I do not know how :TOhtml obtains this effect, I've failed to reproduce it by hand. -- 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: BufWritePre and :wqa

2007-03-06 Thread Cyril Slobin
x27;t work. Vim 7.0, not patched, win32 and dos32 versions. My whole _vimrc is at http://45.free.net/~slobin/vim/_vimrc.html if 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'

BufWritePre and :wqa

2007-03-05 Thread Cyril Slobin
r, so when 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'