Thursday, April 4, 2013

Weird:: substitute by using register with combinations

It's OK if execute the following in command-line directly
:%s#combinations#œ̄ṣ́#g

However, if like this:
:let @w = "%s#combinations#œ̄ṣ́#g"
:@w
the combinations will be lost. :-(

BTW, it is also strictly correct if put the command into a function and call the function.
=================================================================
Vista/Vim V7.3
termencoding=fileencoding=utf8, fileformat=unix
maxcombine=2

=================================================================
Anybody could tell me how can i avoid this weird result? thanks.


--
--
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
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: