On Fri, 11 Nov 2011 17:54:02 +0800, Tony Mechelynck
<[email protected]> wrote:
On 11/11/11 09:31, Yue Wu wrote:
On Thu, 10 Nov 2011 23:52:44 +0800, Ben Fritz <[email protected]>
wrote:
On Nov 10, 8:21 am, "Yue Wu" <[email protected]> wrote:
Hello list,
Sorry I've posted a same mail on vim_dev then I realized that I've
posted
in a wrong mailing list.
My question is more specific for n900, but I don't know where to get
help,
so I try to seek it here ;p
vim works fine on n900's port, except it doesn't support 'autochdir',
I'm
very curious about it.
What's not supported about it? It's there but doesn't work? Or it's
not there at all?
The big question is that, I don't know how to copy strings in system's
clipboard, register * and + doesn't work even vim has compiled to
support
the feature. In normal way, I can make a selection then click xterm's
menu
then choise copy, but it's too slow. So my question is that if it
possible
to copy strings directly by vim?
I don't know, I am pretty sure if your Vim is compiled for it, it
should work. But then, I don't know what n900 refers to. Maybe you
need an X server running.
You can try some of the suggestions (especially in the comments) here:
http://vim.wikia.com/wiki/Clipboard
After testing again, I find that, register + works fine for English
charactors, but Chinese charactors couldn't be copied at all, after
copied from vim, all Chinese charactors were disappeared.
Strange. I'm tempted to say that it sounds like there's something wrong
with the Maemo clipboard but I don't know that system well enough. What
is your system locale (what does Vim answer to the :lang command with no
arguments)? Is it possible to set it (before starting Vim) to some
Unicode locale, similar to the en_US.UTF-8 which I use on my desktop
Linux system? Maybe zh_CN.UTF-8 for Simplified Chinese or zh_TW.UTF-8
for Traditional Chinese? And of course have Vim compiled with
+multi_byte and run it with 'encoding' set to utf-8, see
http://vim.wikia.com/wiki/Working_with_Unicode
Actually, I've noticed this issue on freebsd for a long time too, vim
can't copy Chinese correctly on xterm to other external GUI apps except
xterm itself, I have to use xterm's mechanism for copying. Locale on both
os(maemo and FreeBSD) are en_US.UTF-8, vim's option 'encoding' is set to
utf-8 too.
I've reported the issue [1] before, don't know if the issue is related to
vim or other apps.
Best regards,
Tony.
1.
http://groups.google.com/group/vim_dev/browse_thread/thread/48d5d86f2b1f6805/d2420f61cea6a691?#d2420f61cea6a691
--
Regards,
Yue Wu
State Key laboratory of Natural Products and Functions
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php