4 ms·
JS_ARG is a string. If you want an array, just split it on space or some other character of your choosing. E.g, `:alias only_first js -p window.alert(JS_ARG.sp
by bovine3dom 8y ago
JS_ARG is a string. If you want an array, just split it on space or some other character of your choosing.
E.g, `:alias only_first js -p window.alert(JS_ARG.split('|')[0])`
`:only_first this bit | not this`.
NB: untested, posted from 'phone.