thanks very much! I have try that out and it works great~
On Jan 1, 8:28 pm, Anton Sharonov anton.sharo...@gmail.com wrote:
in normal mode, type:
[{
If you are deep in the nested blocks, you can use count with this
command:
f() {
if() {
while () {
// _ cursor here
}
On Saturday 03 January 2009, Tim Johnson wrote:
select text in visual mode
y yank to register
:let lines = @ read register into variable
:call writefile(lines,'targetfile')
this command fails since writefile() needs the first arg as list
so either another function is
On 04/01/09 02:45, anhnmncb wrote:
I have a foldtext() that generates a long line, I don't know how to let it
wrap to next line to show the foldtext cross lines. Or is it unpossible at
present?
First, a warning: Folding is one of the areas of Vim that I know worst,
so if anyone else
Charles Campbell 写道:
You can use the escape() function to escape certain characters in a
string. Your mapping would then become
map C-B 0y$:!C-R=escape(@0,'#')crcr
See
:help escape()
The shellescape() function was designed for this situation.
Regards,
Chip Campbell
The
Tony Mechelynck 写道:
For the meaning of its settings, :help 'iskeyword' resends to :help
'isfname' where it is said:
Multi-byte characters 256 and above are always included, only the
characters up to 255 are specified with this option.
For UTF-8 the characters 0xa0 to 0xff
On 04/01/09 04:07, pansz wrote:
Tony Mechelynck 写道:
For the meaning of its settings, :help 'iskeyword' resends to :help
'isfname' where it is said:
Multi-byte characters 256 and above are always included, only the
characters up to 255 are specified with this option.
For UTF-8
On 2009-01-04, Sean wrote:
Hi,
I just uploaded a script used as an IME (Input Method Editor) for
typing Chinese as an example:
http://vim.sourceforge.net/scripts/script.php?script_id=2506
The screen-shot can be found on
http://maxiangjiang.googlepages.com/vim_ime.gif
For years, I have
On 2009-01-04, anhnmncb wrote:
On 2009-01-04, Sean wrote:
Hi,
I just uploaded a script used as an IME (Input Method Editor) for
typing Chinese as an example:
http://vim.sourceforge.net/scripts/script.php?script_id=2506
The screen-shot can be found on
Tony Mechelynck 写道:
If you want to be sure, try some Chinese text with both hanzi and
wide-punctuation and see where the yiw (yank inner word) or viw (visual
inner word) stops. Here's a sample for you: 道可道、非常道。名可名、非常
名。 ;-)
Interesting, I see the wide punctuation characters are
On 04/01/09 05:49, bill lam wrote:
On Sun, 04 Jan 2009, Tony Mechelynck wrote:
Maybe someday (if I come around to it) I'll try to build a datafile by
Kangxi (or similar) radicals and strokes, for people who can see hanzi
and maybe even understand them but not say them. I might even
already
On 04/01/09 06:30, pansz wrote:
Tony Mechelynck 写道:
If you want to be sure, try some Chinese text with both hanzi and
wide-punctuation and see where the yiw (yank inner word) or viw (visual
inner word) stops. Here's a sample for you: 道可道、非常道。名可名、非常
名。 ;-)
Interesting, I see the wide
On 2009-01-04, Sean wrote:
I am interested in how to improve performance, which seems not the
issue for me, though.
These are my computing environments:
laptop: HP MODEL nc6320
OS: Windows XP
CPU: 1.66GHz
RAM: 2GB
Please don't top post.
windows 2000, centrino 1.66GHz and 768 RAM here.
On 04/01/09 07:20, anhnmncb wrote:
On 2009-01-04, Sean wrote:
I am interested in how to improve performance, which seems not the
issue for me, though.
These are my computing environments:
laptop: HP MODEL nc6320
OS: Windows XP
CPU: 1.66GHz
RAM: 2GB
Please don't top post.
windows
Sean 写道:
I am interested in how to improve performance, which seems not the
issue for me, though.
These are my computing environments:
laptop: HP MODEL nc6320
OS: Windows XP
CPU: 1.66GHz
RAM: 2GB
Also, the gvim.exe Memory Usage is less than 7MB with or without my
plugin.
My own
Tony Mechelynck 写道:
I'm not sure. I suppose that option was defined before Unicode became
well-known, maybe even before it existed, when most charsets were of the
8-bit kind except for East-Asian scripts, which required special MBCS
versions of the OSes anyway (such as MS-DOS 2.25).
An updated version is uploaded on
http://vim.sourceforge.net/scripts/script.php?script_id=2506
with the following three improvement:
(1) fix completion hanging after starting from non-word characters
(2) add pumheight=10 to limit the height of popup menu
(3) add two entries on data file for
Hi Sean, I think the first thing need to be done is to improve the speed of
completion, I can't live if I have typed 10 hanzis in 5s, and need to wait 8s
for vim to complete them.
--
Regards,
anhnmncb
--~--~-~--~~~---~--~~
You received this message from the
17 matches
Mail list logo