Open GoogleCodeExporter opened 8 years ago
Thanks for the patch!
I'll look into it in the next week.
Original comment by nicora...@gmail.com
on 7 Jul 2011 at 4:04
Now a Mercurial (hg) repository of my hack is available.
https://tomesoft.net/hg/conque_hack/
Original comment by J.OKAD...@gmail.com
on 11 Jul 2011 at 6:02
Hi. How can I clone your conque_hack from the site you offered?
Original comment by xell....@gmail.com
on 21 Jul 2011 at 6:19
You can clone with following way, if you already installed Mercurial (hg);
$ hg clone https://tomesoft.net/hg/conque_hack conque_mb_hack
Please remember that this hack is just first hack.
This is not perfect thing at this time.
Original comment by J.OKAD...@gmail.com
on 21 Jul 2011 at 8:34
Hey tome,
Have you tried integrating this hack with the InsertCharPre event?
The event allows you to call a vim function right before any character is sent
to Vim. It works with multi-byte characters. I added this to conque trunk,
though I haven't done too much testing with it yet:
(autoload/conque_term.vim)
autocmd InsertCharPre <buffer> call conque_term#key_press()
function! conque_term#key_press()
" send Unicode ordinal to python
sil exe s:py . ' ' . b:ConqueTerm_Var . ".write_buffered_ord(" . char2nr(v:char) . ")"
" remove character from Vim input queue
sil let v:char = ''
endfunction
It seems like this should allow you to remove the cursor_moved insanity from
your patch.
Original comment by nicora...@gmail.com
on 21 Jul 2011 at 6:36
Oh, forgot to mention... The InsertCharPre event is only available in Vim
mercurial repo. It missed the 7.3 release by a few months. See
http://www.vim.org/download.php
Original comment by nicora...@gmail.com
on 21 Jul 2011 at 6:39
Original issue reported on code.google.com by
J.OKAD...@gmail.com
on 7 Jul 2011 at 6:26Attachments: