let X = "ひだまり"
let _ = "スケッチ"
try
X / _ / X < また見て下さいね
catch /^Vim\%((\a\+)\)\=:E488/
echo eval(
\ substitute(
\ substitute(
\ v:exception,
\ '^.*E\(\d\+\).*:\s*\(\(.\) / \(.\).*\). <\(.*\)$',
\ '\2"\3".(\1-123)."\5"', ''), '/', '.', 'g'))
endtry
2008/07/11
意外と知られていないvimのtips(ゆの in vimscript)
卑怯と言われようが構いません。
Edit this entry...
wikieditish message: Ready to edit this entry.
A quick preview will be rendered here when you click "Preview" button.