Created
October 15, 2016 12:49
-
-
Save mattn/096fa73161ab2a2ddfd9e377970fab64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let s='中華料理画像うpよろしく'|let u=split(s,'\zs')|let l=len(u)-1|echom s|call map(map(range(2,l),{i->g:u[i+1].repeat("@",g:l-1).g:u[-i-2]}),'execute("echom v:val",0)')|echom join(reverse(u),'') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment